|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.unisaarland.cs.st.jerify.verifier.typestate.MethodTypestateAnalysis
@DefaultQualifier(value="checkers.nullness.quals.NonNull") public class MethodTypestateAnalysis
The analysis data that is propagated in the control flow graph.
| Constructor Summary | |
|---|---|
MethodTypestateAnalysis(checkers.types.AnnotatedTypeFactory factory)
Create an empty Analysis |
|
MethodTypestateAnalysis(checkers.types.AnnotatedTypeFactory factory,
MethodTypestateAnalysis copyFrom)
Create an Analysis which copies its content form the passed Analysis |
|
| Method Summary | |
|---|---|
void |
addReference(java.lang.Integer id)
Declare that there is an additional Reference for the Object with id id |
void |
applyFilter(java.util.Set<Pair<java.lang.Integer,java.util.Collection<java.lang.String>>> filterSet)
Apply the Changes previously parsed from the set changes |
void |
applySetChanges(java.util.Set<Pair<java.lang.Integer,State>> stateSetTo)
Apply the Changes previously parsed from the set changes |
void |
applyStateChanges(com.sun.source.tree.Tree tree,
StateChanges stateChanges,
java.util.Collection<java.lang.Integer> aliases)
Apply the Changes previously parsed from the state changes |
CFGAnalysis<MethodTypestateAnalysis> |
deepCopy()
Return an isolated Analysis, where changes will not affect this |
boolean |
equals(java.lang.Object o)
|
MethodTypestateAnalysis |
getAnalysisData()
return the analysis |
boolean |
isSubsetOf(CFGAnalysis<MethodTypestateAnalysis> analysis)
Tests if this is a subset of analysis |
MethodTypestateAnalysis |
merge(CFGAnalysis<MethodTypestateAnalysis> other)
Incorporate the analysis (other) into this analysis. |
void |
removeObject(java.lang.Integer id)
Removes an Object from the analysis (useful if that object scope ends ...) |
void |
removeReference(java.lang.Integer id)
Declare that there is one Reference less of the Object with id id. |
void |
removeReferences(java.util.Set<java.lang.Integer> ids)
|
MethodTypestateAnalysis |
replaceWith(CFGAnalysis<MethodTypestateAnalysis> other)
Replace this analysis with the one passed (other). |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.unisaarland.cs.st.jerify.verifier.cfg.flownodes.CFGAnalysis |
|---|
hashCode |
| Constructor Detail |
|---|
public MethodTypestateAnalysis(checkers.types.AnnotatedTypeFactory factory)
public MethodTypestateAnalysis(checkers.types.AnnotatedTypeFactory factory,
MethodTypestateAnalysis copyFrom)
copyFrom - to copy from| Method Detail |
|---|
public CFGAnalysis<MethodTypestateAnalysis> deepCopy()
deepCopy in interface CFGAnalysis<MethodTypestateAnalysis>public boolean isSubsetOf(CFGAnalysis<MethodTypestateAnalysis> analysis)
isSubsetOf in interface CFGAnalysis<MethodTypestateAnalysis>public boolean equals(java.lang.Object o)
equals in interface CFGAnalysis<MethodTypestateAnalysis>equals in class java.lang.Objectpublic MethodTypestateAnalysis replaceWith(CFGAnalysis<MethodTypestateAnalysis> other)
replaceWith in interface CFGAnalysis<MethodTypestateAnalysis>public MethodTypestateAnalysis merge(CFGAnalysis<MethodTypestateAnalysis> other)
merge in interface CFGAnalysis<MethodTypestateAnalysis>public void addReference(java.lang.Integer id)
id - the id of the objectpublic void removeReferences(java.util.Set<java.lang.Integer> ids)
public void removeReference(java.lang.Integer id)
id - the id of the objectpublic void removeObject(java.lang.Integer id)
id - the object to removepublic void applySetChanges(java.util.Set<Pair<java.lang.Integer,State>> stateSetTo)
tree - stateChanges - aliases - public void applyFilter(java.util.Set<Pair<java.lang.Integer,java.util.Collection<java.lang.String>>> filterSet)
tree - stateChanges - aliases -
public void applyStateChanges(com.sun.source.tree.Tree tree,
StateChanges stateChanges,
java.util.Collection<java.lang.Integer> aliases)
tree - stateChanges - aliases - public java.lang.String toString()
toString in interface CFGAnalysis<MethodTypestateAnalysis>toString in class java.lang.Objectpublic MethodTypestateAnalysis getAnalysisData()
getAnalysisData in interface CFGAnalysis<MethodTypestateAnalysis>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||