soot.jimple.internal
Class AbstractInstanceFieldRef
java.lang.Object
|
+--soot.jimple.internal.AbstractInstanceFieldRef
- Direct Known Subclasses:
- GInstanceFieldRef, JInstanceFieldRef
- public abstract class AbstractInstanceFieldRef
- extends java.lang.Object
- implements InstanceFieldRef, ConvertToBaf, EquivTo
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
AbstractInstanceFieldRef
protected AbstractInstanceFieldRef(ValueBox baseBox,
SootField field)
clone
public abstract java.lang.Object clone()
- Description copied from interface: Value
- Returns a clone of this Value.
- Overrides:
- clone in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
toBriefString
public java.lang.String toBriefString()
- Description copied from interface: ToBriefString
- Returns a brief description of this object.
getBase
public Value getBase()
- Specified by:
- getBase in interface InstanceFieldRef
getBaseBox
public ValueBox getBaseBox()
- Specified by:
- getBaseBox in interface InstanceFieldRef
setBase
public void setBase(Value base)
- Specified by:
- setBase in interface InstanceFieldRef
getField
public SootField getField()
setField
public void setField(SootField field)
getUseBoxes
public java.util.List getUseBoxes()
- Description copied from interface: Value
- Returns a List of boxes corresponding to Values
which are used by (ie contained within) this Value.
getType
public Type getType()
- Description copied from interface: Value
- Returns the Soot type of this Value.
apply
public void apply(Switch sw)
- Description copied from interface: Switchable
- Called when this object is visited.
equivTo
public boolean equivTo(java.lang.Object o)
- Description copied from interface: EquivTo
- Returns true if this object is equivalent to o.
- Specified by:
- equivTo in interface EquivTo
equivHashCode
public int equivHashCode()
- Returns a hash code for this object, consistent with structural equality.
- Specified by:
- equivHashCode in interface EquivTo
convertToBaf
public void convertToBaf(JimpleToBafContext context,
java.util.List out)
- Specified by:
- convertToBaf in interface ConvertToBaf