|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soot.jimple.internal.AbstractInstanceFieldRef
public abstract class AbstractInstanceFieldRef
Field Summary | |
---|---|
protected SootFieldRef |
fieldRef
|
Constructor Summary | |
---|---|
protected |
AbstractInstanceFieldRef(ValueBox baseBox,
SootFieldRef fieldRef)
|
Method Summary | |
---|---|
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. |
Value |
getBase()
|
ValueBox |
getBaseBox()
|
SootField |
getField()
|
SootFieldRef |
getFieldRef()
|
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(Value base)
|
void |
setFieldRef(SootFieldRef fieldRef)
|
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 SootFieldRef fieldRef
Constructor Detail |
---|
protected AbstractInstanceFieldRef(ValueBox baseBox, SootFieldRef fieldRef)
Method Detail |
---|
public abstract Object clone()
Value
clone
in interface Value
clone
in class Object
public String toString()
toString
in class Object
public void toString(UnitPrinter up)
toString
in interface Value
public Value getBase()
getBase
in interface InstanceFieldRef
public ValueBox getBaseBox()
getBaseBox
in interface InstanceFieldRef
public void setBase(Value base)
setBase
in interface InstanceFieldRef
public SootFieldRef getFieldRef()
getFieldRef
in interface FieldRef
public void setFieldRef(SootFieldRef fieldRef)
setFieldRef
in interface FieldRef
public SootField getField()
getField
in interface FieldRef
public List getUseBoxes()
Value
getUseBoxes
in interface Value
public Type getType()
Value
getType
in interface Value
public void apply(Switch sw)
Switchable
apply
in interface Switchable
public boolean equivTo(Object o)
EquivTo
equivTo
in interface EquivTo
public int equivHashCode()
equivHashCode
in interface EquivTo
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 |