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.Object
public boolean equivToValue(Value v)
v
, using
equivTo
public boolean equalsToValue(Value v)
v
, using
equals
@Deprecated public Value getDeepestValue()
getValue()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public Value getValue()
public java.util.List<ValueBox> getUseBoxes()
Value
getUseBoxes
in interface Value
public Type getType()
Value
public java.lang.Object clone()
Value
public boolean equivTo(java.lang.Object o)
EquivTo
public int equivHashCode()
EquivTo
equivHashCode
in interface EquivTo
public void apply(Switch sw)
Switchable
apply
in interface Switchable
public void toString(UnitPrinter up)