public class ValueAbstractState extends java.lang.Object implements AbstractState<ValueAbstractState>
AbstractState for tracking JVM values.| Modifier and Type | Field and Description |
|---|---|
static ValueAbstractState |
UNKNOWN |
| Constructor and Description |
|---|
ValueAbstractState(Value value) |
| Modifier and Type | Method and Description |
|---|---|
ValueAbstractState |
copy()
Creates a copy of itself.
|
boolean |
equals(java.lang.Object o) |
Value |
getValue()
Returns the
Value associated with this abstract state. |
int |
hashCode() |
boolean |
isLessOrEqual(ValueAbstractState abstractState)
Compares itself to the
abstractState (i.e., compare the states on the partial order
provided by the domain of the analysis). |
ValueAbstractState |
join(ValueAbstractState abstractState)
Computes a join over itself and another abstract state
abstractState (i.e., finds the
least upper bound on the semilattice). |
void |
setValue(Value value)
Update the
Value associated with this abstract state. |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPrecision, isLesspublic static final ValueAbstractState UNKNOWN
public ValueAbstractState(Value value)
public ValueAbstractState join(ValueAbstractState abstractState)
AbstractStateabstractState (i.e., finds the
least upper bound on the semilattice).join in interface AbstractState<ValueAbstractState>public boolean isLessOrEqual(ValueAbstractState abstractState)
AbstractStateabstractState (i.e., compare the states on the partial order
provided by the domain of the analysis).isLessOrEqual in interface AbstractState<ValueAbstractState>public ValueAbstractState copy()
AbstractStatecopy in interface AbstractState<ValueAbstractState>public boolean equals(java.lang.Object o)
equals in interface AbstractState<ValueAbstractState>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface AbstractState<ValueAbstractState>hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object