soot.jimple.internal
Class AbstractNewMultiArrayExpr
java.lang.Object
|
+--soot.jimple.internal.AbstractNewMultiArrayExpr
- Direct Known Subclasses:
- DNewMultiArrayExpr, GNewMultiArrayExpr, JNewMultiArrayExpr
- public abstract class AbstractNewMultiArrayExpr
- extends java.lang.Object
- implements NewMultiArrayExpr, ConvertToBaf
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
sizeBoxes
protected ValueBox[] sizeBoxes
AbstractNewMultiArrayExpr
protected AbstractNewMultiArrayExpr(ArrayType type,
ValueBox[] sizeBoxes)
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
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.
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
toString
public void toString(UnitPrinter up)
getBaseType
public ArrayType getBaseType()
- Specified by:
- getBaseType in interface NewMultiArrayExpr
setBaseType
public void setBaseType(ArrayType baseType)
- Specified by:
- setBaseType in interface NewMultiArrayExpr
getSizeBox
public ValueBox getSizeBox(int index)
- Specified by:
- getSizeBox in interface NewMultiArrayExpr
getSizeCount
public int getSizeCount()
- Specified by:
- getSizeCount in interface NewMultiArrayExpr
getSize
public Value getSize(int index)
- Specified by:
- getSize in interface NewMultiArrayExpr
getSizes
public java.util.List getSizes()
- Specified by:
- getSizes in interface NewMultiArrayExpr
setSize
public void setSize(int index,
Value size)
- Specified by:
- setSize in interface NewMultiArrayExpr
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 NewMultiArrayExpr
apply
public void apply(Switch sw)
- Description copied from interface: Switchable
- Called when this object is visited.
- Specified by:
- apply in interface NewMultiArrayExpr
convertToBaf
public void convertToBaf(JimpleToBafContext context,
java.util.List out)
- Specified by:
- convertToBaf in interface ConvertToBaf