public abstract class AbstractNewMultiArrayExpr extends 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 Object |
clone()
Returns a clone of this Value.
|
void |
convertToBaf(JimpleToBafContext context,
List<Unit> out) |
int |
equivHashCode()
Returns a hash code for this object, consistent with structural equality.
|
boolean |
equivTo(Object o)
Returns true if this object is equivalent to o.
|
ArrayType |
getBaseType() |
Value |
getSize(int index) |
ValueBox |
getSizeBox(int index) |
int |
getSizeCount() |
List<Value> |
getSizes() |
Type |
getType()
Returns the Soot type of this Value.
|
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) |
String |
toString() |
void |
toString(UnitPrinter up) |
protected final ValueBox[] sizeBoxes
public abstract Object clone()
Valuepublic boolean equivTo(Object o)
EquivTopublic int equivHashCode()
equivHashCode in interface EquivTopublic 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 List<Value> getSizes()
getSizes in interface NewMultiArrayExprpublic void setSize(int index,
Value size)
setSize in interface NewMultiArrayExprpublic final 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, List<Unit> out)
convertToBaf in interface ConvertToBafCopyright © 2020 Soot OSS. All rights reserved.