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>
AnAbstractStatefor tracking JVM values.
-
-
Field Summary
Fields Modifier and Type Field Description static ValueAbstractStateUNKNOWN
-
Constructor Summary
Constructors Constructor Description ValueAbstractState(Value value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueAbstractStatecopy()Creates a copy of itself.booleanequals(java.lang.Object o)ValuegetValue()Returns theValueassociated with this abstract state.inthashCode()booleanisLessOrEqual(ValueAbstractState abstractState)Compares itself to theabstractState(i.e., compare the states on the partial order provided by the domain of the analysis).ValueAbstractStatejoin(ValueAbstractState abstractState)Computes a join over itself and another abstract stateabstractState(i.e., finds the least upper bound on the semilattice).voidsetValue(Value value)Update theValueassociated with this abstract state.java.lang.StringtoString()-
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:AbstractStateComputes a join over itself and another abstract stateabstractState(i.e., finds the least upper bound on the semilattice).- Specified by:
joinin interfaceAbstractState<ValueAbstractState>
-
isLessOrEqual
public boolean isLessOrEqual(ValueAbstractState abstractState)
Description copied from interface:AbstractStateCompares itself to theabstractState(i.e., compare the states on the partial order provided by the domain of the analysis).- Specified by:
isLessOrEqualin interfaceAbstractState<ValueAbstractState>
-
copy
public ValueAbstractState copy()
Description copied from interface:AbstractStateCreates a copy of itself.- Specified by:
copyin interfaceAbstractState<ValueAbstractState>
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equalsin interfaceAbstractState<ValueAbstractState>- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceAbstractState<ValueAbstractState>- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-