|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xact.analysis.dataflow.VariableAnalysisElement<VariableElementType>
public class VariableAnalysisElement<VariableElementType>
Lattice element for VariableAnalysis
.
Consists of a map from variables to analysis-specific value flow elements.
Constructor Summary | |
---|---|
VariableAnalysisElement()
Constructs a new empty lattice element. |
Method Summary | |
---|---|
boolean |
copyFrom(VariableAnalysisElement<VariableElementType> other)
Copies everything from the given lattice point. |
VariableElementType |
get(Variable var)
Gets the element associated with the given variable. |
Set<Variable> |
getVariables()
Returns the variables for which explicit mappings exist. |
void |
put(Variable var,
VariableElementType elem)
Adds or updates a mapping. |
String |
toString()
Returns a string description of this lattice element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VariableAnalysisElement()
Method Detail |
---|
public boolean copyFrom(VariableAnalysisElement<VariableElementType> other)
Object.equals(Object)
method
to be implemented.
other
- a lattice point
public VariableElementType get(Variable var)
public Set<Variable> getVariables()
public void put(Variable var, VariableElementType elem)
public String toString()
toString
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |