public abstract class AbstractNewMultiArrayExpr extends java.lang.Object implements NewMultiArrayExpr, ConvertToBaf
Modifier | Constructor and Description |
---|---|
protected |
AbstractNewMultiArrayExpr(ArrayType type,
ValueBox[] sizeBoxes) |
Modifier and Type | Method and Description |
---|---|
void |
apply(Switch sw)
Called when this object is visited.
|
abstract java.lang.Object |
clone()
Returns a clone of this Value.
|
void |
convertToBaf(JimpleToBafContext context,
java.util.List<Unit> out) |
int |
equivHashCode()
Returns a hash code for this object, consistent with structural equality.
|
boolean |
equivTo(java.lang.Object o)
Returns true if this object is equivalent to o.
|
ArrayType |
getBaseType() |
Value |
getSize(int index) |
ValueBox |
getSizeBox(int index) |
int |
getSizeCount() |
java.util.List<Value> |
getSizes() |
Type |
getType()
Returns the Soot type of this Value.
|
java.util.List<ValueBox> |
getUseBoxes()
Returns a List of boxes corresponding to Values
which are used by (ie contained within) this Value.
|
void |
setBaseType(ArrayType baseType) |
void |
setSize(int index,
Value size) |
java.lang.String |
toString() |
void |
toString(UnitPrinter up) |
protected final ValueBox[] sizeBoxes
public abstract java.lang.Object clone()
Value
public boolean equivTo(java.lang.Object o)
EquivTo
public int equivHashCode()
equivHashCode
in interface EquivTo
public java.lang.String toString()
toString
in class java.lang.Object
public void toString(UnitPrinter up)
public ArrayType getBaseType()
getBaseType
in interface NewMultiArrayExpr
public void setBaseType(ArrayType baseType)
setBaseType
in interface NewMultiArrayExpr
public ValueBox getSizeBox(int index)
getSizeBox
in interface NewMultiArrayExpr
public int getSizeCount()
getSizeCount
in interface NewMultiArrayExpr
public Value getSize(int index)
getSize
in interface NewMultiArrayExpr
public java.util.List<Value> getSizes()
getSizes
in interface NewMultiArrayExpr
public void setSize(int index, Value size)
setSize
in interface NewMultiArrayExpr
public final java.util.List<ValueBox> getUseBoxes()
Value
getUseBoxes
in interface Value
public Type getType()
Value
getType
in interface NewMultiArrayExpr
getType
in interface Value
public void apply(Switch sw)
Switchable
apply
in interface NewMultiArrayExpr
apply
in interface Switchable
public void convertToBaf(JimpleToBafContext context, java.util.List<Unit> out)
convertToBaf
in interface ConvertToBaf