soot.jimple.internal
Class AbstractNewArrayExpr
java.lang.Object
|
+--soot.jimple.internal.AbstractNewArrayExpr
- Direct Known Subclasses:
- DNewArrayExpr, GNewArrayExpr, JNewArrayExpr
- public abstract class AbstractNewArrayExpr
- extends java.lang.Object
- implements NewArrayExpr, ConvertToBaf
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
AbstractNewArrayExpr
protected AbstractNewArrayExpr(Type type,
ValueBox sizeBox)
equivTo
public boolean equivTo(java.lang.Object o)
- Description copied from interface: EquivTo
- Returns true if this object is equivalent to o.
equivHashCode
public int equivHashCode()
- Returns a hash code for this object, consistent with structural equality.
clone
public abstract java.lang.Object clone()
- Description copied from interface: Value
- Returns a clone of this Value.
- Overrides:
- clone in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
toString
public void toString(UnitPrinter up)
getBaseType
public Type getBaseType()
- Specified by:
- getBaseType in interface NewArrayExpr
setBaseType
public void setBaseType(Type type)
- Specified by:
- setBaseType in interface NewArrayExpr
getSizeBox
public ValueBox getSizeBox()
- Specified by:
- getSizeBox in interface NewArrayExpr
getSize
public Value getSize()
- Specified by:
- getSize in interface NewArrayExpr
setSize
public void setSize(Value size)
- Specified by:
- setSize in interface NewArrayExpr
getUseBoxes
public java.util.List getUseBoxes()
- Description copied from interface: Value
- Returns a List of boxes corresponding to Values
which are used by (ie contained within) this Value.
getType
public Type getType()
- Description copied from interface: Value
- Returns the Soot type of this Value.
- Specified by:
- getType in interface NewArrayExpr
apply
public void apply(Switch sw)
- Description copied from interface: Switchable
- Called when this object is visited.
- Specified by:
- apply in interface NewArrayExpr
convertToBaf
public void convertToBaf(JimpleToBafContext context,
java.util.List out)
- Specified by:
- convertToBaf in interface ConvertToBaf