public abstract class AbstractInstanceFieldRef extends java.lang.Object implements InstanceFieldRef, ConvertToBaf
| Modifier and Type | Field and Description |
|---|---|
protected SootFieldRef |
fieldRef |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractInstanceFieldRef(ValueBox baseBox,
SootFieldRef fieldRef) |
| 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.
|
Value |
getBase() |
ValueBox |
getBaseBox() |
SootField |
getField() |
SootFieldRef |
getFieldRef() |
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 |
setBase(Value base) |
void |
setFieldRef(SootFieldRef fieldRef) |
java.lang.String |
toString() |
void |
toString(UnitPrinter up) |
protected SootFieldRef fieldRef
protected AbstractInstanceFieldRef(ValueBox baseBox, SootFieldRef fieldRef)
public abstract java.lang.Object clone()
Valuepublic java.lang.String toString()
toString in class java.lang.Objectpublic void toString(UnitPrinter up)
public Value getBase()
getBase in interface InstanceFieldRefpublic ValueBox getBaseBox()
getBaseBox in interface InstanceFieldRefpublic void setBase(Value base)
setBase in interface InstanceFieldRefpublic SootFieldRef getFieldRef()
getFieldRef in interface FieldRefpublic void setFieldRef(SootFieldRef fieldRef)
setFieldRef in interface FieldRefpublic final java.util.List<ValueBox> getUseBoxes()
ValuegetUseBoxes in interface Valuepublic Type getType()
Valuepublic void apply(Switch sw)
Switchableapply in interface Switchablepublic boolean equivTo(java.lang.Object o)
EquivTopublic int equivHashCode()
equivHashCode in interface EquivTopublic void convertToBaf(JimpleToBafContext context, java.util.List<Unit> out)
convertToBaf in interface ConvertToBaf