|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsoot.jimple.internal.JArrayRef
| Field Summary | |
protected ValueBox |
baseBox
|
protected ValueBox |
indexBox
|
| Constructor Summary | |
protected |
JArrayRef(ValueBox baseBox,
ValueBox indexBox)
|
|
JArrayRef(Value base,
Value index)
|
| Method Summary | |
void |
apply(Switch sw)
Called when this object is visited. |
Object |
clone()
Returns a clone of this Value. |
void |
convertToBaf(JimpleToBafContext context,
List 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. |
Value |
getBase()
|
ValueBox |
getBaseBox()
|
Value |
getIndex()
|
ValueBox |
getIndexBox()
|
Type |
getType()
Returns the Soot type of this Value. |
List |
getUseBoxes()
Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value. |
void |
setBase(Local base)
|
void |
setIndex(Value index)
|
String |
toString()
|
void |
toString(UnitPrinter up)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected ValueBox baseBox
protected ValueBox indexBox
| Constructor Detail |
public JArrayRef(Value base,
Value index)
protected JArrayRef(ValueBox baseBox,
ValueBox indexBox)
| Method Detail |
public Object clone()
Value
clone in interface Valuepublic boolean equivTo(Object o)
EquivTo
equivTo in interface EquivTopublic int equivHashCode()
equivHashCode in interface EquivTopublic String toString()
public void toString(UnitPrinter up)
toString in interface Valuepublic Value getBase()
getBase in interface ArrayRefpublic void setBase(Local base)
setBase in interface ArrayRefpublic ValueBox getBaseBox()
getBaseBox in interface ArrayRefpublic Value getIndex()
getIndex in interface ArrayRefpublic void setIndex(Value index)
setIndex in interface ArrayRefpublic ValueBox getIndexBox()
getIndexBox in interface ArrayRefpublic List getUseBoxes()
Value
getUseBoxes in interface Valuepublic Type getType()
Value
getType in interface ArrayRefpublic void apply(Switch sw)
Switchable
apply in interface ArrayRef
public void convertToBaf(JimpleToBafContext context,
List out)
convertToBaf in interface ConvertToBaf
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||