|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soot.jimple.internal.JArrayRef
public class 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<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. |
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 Value
clone
in class Object
public boolean equivTo(Object o)
EquivTo
equivTo
in interface EquivTo
public int equivHashCode()
equivHashCode
in interface EquivTo
public String toString()
toString
in class Object
public void toString(UnitPrinter up)
toString
in interface Value
public Value getBase()
getBase
in interface ArrayRef
public void setBase(Local base)
setBase
in interface ArrayRef
public ValueBox getBaseBox()
getBaseBox
in interface ArrayRef
public Value getIndex()
getIndex
in interface ArrayRef
public void setIndex(Value index)
setIndex
in interface ArrayRef
public ValueBox getIndexBox()
getIndexBox
in interface ArrayRef
public List getUseBoxes()
Value
getUseBoxes
in interface Value
public Type getType()
Value
getType
in interface ArrayRef
getType
in interface Value
public void apply(Switch sw)
Switchable
apply
in interface ArrayRef
apply
in interface Switchable
public void convertToBaf(JimpleToBafContext context, List<Unit> out)
convertToBaf
in interface ConvertToBaf
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |