public class EquivalentValue extends java.lang.Object implements Value
| Constructor and Description |
|---|
EquivalentValue(Value e) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Switch sw)
Called when this object is visited.
|
java.lang.Object |
clone()
Returns a clone of this Value.
|
boolean |
equals(java.lang.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(java.lang.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()
Deprecated.
|
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.
|
Value |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
void |
toString(UnitPrinter up) |
public EquivalentValue(Value e)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic boolean equivToValue(Value v)
v, using
equivTopublic boolean equalsToValue(Value v)
v, using
equals@Deprecated public Value getDeepestValue()
getValue()public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic Value getValue()
public java.util.List<ValueBox> getUseBoxes()
ValuegetUseBoxes in interface Valuepublic Type getType()
Valuepublic java.lang.Object clone()
Valuepublic boolean equivTo(java.lang.Object o)
EquivTopublic int equivHashCode()
EquivToequivHashCode in interface EquivTopublic void apply(Switch sw)
Switchableapply in interface Switchablepublic void toString(UnitPrinter up)