public abstract class AbstractNewArrayExpr extends java.lang.Object implements NewArrayExpr, ConvertToBaf
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNewArrayExpr(Type type,
ValueBox sizeBox) |
| 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.
|
Type |
getBaseType() |
Value |
getSize() |
ValueBox |
getSizeBox() |
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(Type type) |
void |
setSize(Value size) |
java.lang.String |
toString() |
void |
toString(UnitPrinter up) |
public boolean equivTo(java.lang.Object o)
EquivTopublic int equivHashCode()
equivHashCode in interface EquivTopublic abstract java.lang.Object clone()
Valuepublic java.lang.String toString()
toString in class java.lang.Objectpublic void toString(UnitPrinter up)
public Type getBaseType()
getBaseType in interface NewArrayExprpublic void setBaseType(Type type)
setBaseType in interface NewArrayExprpublic ValueBox getSizeBox()
getSizeBox in interface NewArrayExprpublic Value getSize()
getSize in interface NewArrayExprpublic void setSize(Value size)
setSize in interface NewArrayExprpublic final java.util.List<ValueBox> getUseBoxes()
ValuegetUseBoxes in interface Valuepublic Type getType()
ValuegetType in interface NewArrayExprgetType in interface Valuepublic void apply(Switch sw)
Switchableapply in interface NewArrayExprapply in interface Switchablepublic void convertToBaf(JimpleToBafContext context, java.util.List<Unit> out)
convertToBaf in interface ConvertToBaf