|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soot.EquivalentValue
public class EquivalentValue
Encapsulates the Value class, but uses EquivTo for equality comparisons. Also uses equivHashCode as its hash code.
Constructor Summary | |
---|---|
EquivalentValue(Value e)
|
Method Summary | |
---|---|
void |
apply(Switch sw)
Called when this object is visited. |
Object |
clone()
Returns a clone of this Value. |
boolean |
equals(Object o)
|
boolean |
equalsToValue(Value v)
compares the encapsulated value with v , using
equals |
int |
equivHashCode()
Returns a (not necessarily fixed) hash code for this object. |
boolean |
equivTo(Object o)
Returns true if this object is equivalent to o. |
boolean |
equivToValue(Value v)
compares the encapsulated value with v , using
equivTo |
Value |
getDeepestValue()
returns the deepest Value stored in this . |
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. |
Value |
getValue()
|
int |
hashCode()
|
String |
toString()
|
void |
toString(UnitPrinter up)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EquivalentValue(Value e)
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public boolean equivToValue(Value v)
v
, using
equivTo
public boolean equalsToValue(Value v)
v
, using
equals
public Value getDeepestValue()
this
. If the
immediate stored value is an EquivalentValue its deepest value is
returned.
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public Value getValue()
public List getUseBoxes()
Value
getUseBoxes
in interface Value
public Type getType()
Value
getType
in interface Value
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()
EquivTo
equivHashCode
in interface EquivTo
public void apply(Switch sw)
Switchable
apply
in interface Switchable
public void toString(UnitPrinter up)
toString
in interface Value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |