Class ValueAbstractState
- java.lang.Object
-
- proguard.analysis.cpa.jvm.domain.value.ValueAbstractState
-
- All Implemented Interfaces:
AbstractState<ValueAbstractState>
public class ValueAbstractState extends java.lang.Object implements AbstractState<ValueAbstractState>
AnAbstractState
for tracking JVM values.
-
-
Field Summary
Fields Modifier and Type Field Description static ValueAbstractState
UNKNOWN
-
Constructor Summary
Constructors Constructor Description ValueAbstractState(Value value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueAbstractState
copy()
Creates a copy of itself.boolean
equals(java.lang.Object o)
Value
getValue()
Returns theValue
associated with this abstract state.int
hashCode()
boolean
isLessOrEqual(ValueAbstractState abstractState)
Compares itself to theabstractState
(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 stateabstractState
(i.e., finds the least upper bound on the semilattice).void
setValue(Value value)
Update theValue
associated with this abstract state.java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface proguard.analysis.cpa.interfaces.AbstractState
getPrecision, isLess
-
-
-
-
Field Detail
-
UNKNOWN
public static final ValueAbstractState UNKNOWN
-
-
Constructor Detail
-
ValueAbstractState
public ValueAbstractState(Value value)
-
-
Method Detail
-
join
public ValueAbstractState join(ValueAbstractState abstractState)
Description copied from interface:AbstractState
Computes a join over itself and another abstract stateabstractState
(i.e., finds the least upper bound on the semilattice).- Specified by:
join
in interfaceAbstractState<ValueAbstractState>
-
isLessOrEqual
public boolean isLessOrEqual(ValueAbstractState abstractState)
Description copied from interface:AbstractState
Compares itself to theabstractState
(i.e., compare the states on the partial order provided by the domain of the analysis).- Specified by:
isLessOrEqual
in interfaceAbstractState<ValueAbstractState>
-
copy
public ValueAbstractState copy()
Description copied from interface:AbstractState
Creates a copy of itself.- Specified by:
copy
in interfaceAbstractState<ValueAbstractState>
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfaceAbstractState<ValueAbstractState>
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceAbstractState<ValueAbstractState>
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-