Class ValueAbstractState
- java.lang.Object
-
- proguard.analysis.cpa.jvm.domain.value.ValueAbstractState
-
- All Implemented Interfaces:
LatticeAbstractState<ValueAbstractState>
,AbstractState
public class ValueAbstractState extends java.lang.Object implements LatticeAbstractState<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 AbstractState
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
.ValueAbstractState
join(ValueAbstractState abstractState)
Computes a join over itself and theabstractState
.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, getStateByName
-
Methods inherited from interface proguard.analysis.cpa.defaults.LatticeAbstractState
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:LatticeAbstractState
Computes a join over itself and theabstractState
.- Specified by:
join
in interfaceLatticeAbstractState<ValueAbstractState>
-
isLessOrEqual
public boolean isLessOrEqual(ValueAbstractState abstractState)
Description copied from interface:LatticeAbstractState
Compares itself to theabstractState
.- Specified by:
isLessOrEqual
in interfaceLatticeAbstractState<ValueAbstractState>
-
copy
public AbstractState copy()
Description copied from interface:AbstractState
Creates a copy of itself.- Specified by:
copy
in interfaceAbstractState
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfaceAbstractState
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceAbstractState
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-