public class ProgramState extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProgramState.Pop |
| Modifier and Type | Field and Description |
|---|---|
static ProgramState |
EMPTY_STATE |
| Modifier and Type | Method and Description |
|---|---|
ProgramState |
addConstraint(SymbolicValue symbolicValue,
Object constraint) |
boolean |
canReach(SymbolicValue symbolicValue) |
ProgramState |
cleanupConstraints() |
ProgramState |
cleanupDeadSymbols(Set<Symbol> liveVariables) |
int |
constraintsSize() |
boolean |
equals(Object o) |
Object |
getConstraint(SymbolicValue sv) |
List<ObjectConstraint> |
getFieldConstraints(Object state) |
Set<SymbolicValue> |
getFieldValues() |
List<BinaryRelation> |
getKnownRelations() |
SymbolicValue |
getValue(Symbol symbol) |
Map<SymbolicValue,ObjectConstraint> |
getValuesWithConstraints(Object state) |
int |
hashCode() |
static boolean |
isField(Symbol symbol) |
SymbolicValue |
peekValue() |
List<SymbolicValue> |
peekValues(int n) |
ProgramState |
resetFieldValues(ConstraintManager constraintManager) |
String |
toString() |
ProgramState |
visitedPoint(ExplodedGraph.ProgramPoint programPoint,
int nbOfVisit) |
public static final ProgramState EMPTY_STATE
public SymbolicValue peekValue()
public List<SymbolicValue> peekValues(int n)
public ProgramState addConstraint(SymbolicValue symbolicValue, Object constraint)
public ProgramState cleanupDeadSymbols(Set<Symbol> liveVariables)
public ProgramState cleanupConstraints()
public ProgramState resetFieldValues(ConstraintManager constraintManager)
public static boolean isField(Symbol symbol)
public boolean canReach(SymbolicValue symbolicValue)
public ProgramState visitedPoint(ExplodedGraph.ProgramPoint programPoint, int nbOfVisit)
@CheckForNull public Object getConstraint(SymbolicValue sv)
public int constraintsSize()
@CheckForNull public SymbolicValue getValue(Symbol symbol)
public Map<SymbolicValue,ObjectConstraint> getValuesWithConstraints(Object state)
public List<ObjectConstraint> getFieldConstraints(Object state)
public Set<SymbolicValue> getFieldValues()
public List<BinaryRelation> getKnownRelations()
Copyright © 2012–2016 SonarSource. All rights reserved.