soot.jimple
Class ThisRef
java.lang.Object
|
+--soot.jimple.ThisRef
- All Implemented Interfaces:
- EquivTo, IdentityRef, Ref, Switchable, ToBriefString, Value
- public class ThisRef
- extends java.lang.Object
- implements IdentityRef, ToBriefString
Method Summary |
void |
apply(Switch sw)
Called when this object is visited. |
java.lang.Object |
clone()
Returns a clone of this Value. |
int |
equivHashCode()
Returns a (not necessarily fixed) hash code for this object. |
boolean |
equivTo(java.lang.Object o)
Returns true if this object is equivalent to o. |
Type |
getType()
Returns the Soot type of this Value. |
java.util.List |
getUseBoxes()
Returns a List of boxes corresponding to Values
which are used by (ie contained within) this Value. |
java.lang.String |
toBriefString()
Returns a brief description of this object. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ThisRef
public ThisRef(RefType thisType)
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()
- Description copied from interface:
EquivTo
- Returns a (not necessarily fixed) hash code for this object.
This hash code coincides with equivTo; it is undefined in the
presence of mutable objects.
- Specified by:
equivHashCode
in interface EquivTo
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.
- Specified by:
toBriefString
in interface ToBriefString
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.
- Specified by:
getUseBoxes
in interface Value
getType
public Type getType()
- Description copied from interface:
Value
- Returns the Soot type of this Value.
- Specified by:
getType
in interface Value
apply
public void apply(Switch sw)
- Description copied from interface:
Switchable
- Called when this object is visited.
- Specified by:
apply
in interface Switchable
clone
public java.lang.Object clone()
- Description copied from interface:
Value
- Returns a clone of this Value.
- Specified by:
clone
in interface Value
- Overrides:
clone
in class java.lang.Object