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()
Valuepublic boolean equivTo(java.lang.Object o)
EquivTopublic int equivHashCode()
equivHashCode in interface EquivTopublic java.lang.String toString()
toString in class java.lang.Objectpublic void toString(UnitPrinter up)
public ArrayType getBaseType()
getBaseType in interface NewMultiArrayExprpublic void setBaseType(ArrayType baseType)
setBaseType in interface NewMultiArrayExprpublic ValueBox getSizeBox(int index)
getSizeBox in interface NewMultiArrayExprpublic int getSizeCount()
getSizeCount in interface NewMultiArrayExprpublic Value getSize(int index)
getSize in interface NewMultiArrayExprpublic java.util.List<Value> getSizes()
getSizes in interface NewMultiArrayExprpublic void setSize(int index,
Value size)
setSize in interface NewMultiArrayExprpublic final java.util.List<ValueBox> getUseBoxes()
ValuegetUseBoxes in interface Valuepublic Type getType()
ValuegetType in interface NewMultiArrayExprgetType in interface Valuepublic void apply(Switch sw)
Switchableapply in interface NewMultiArrayExprapply in interface Switchablepublic void convertToBaf(JimpleToBafContext context, java.util.List<Unit> out)
convertToBaf in interface ConvertToBaf