|
||||||||||
| 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.MethodCFGThrowsWorkData
public class MethodCFGThrowsWorkData
Encapsulates the information which exceptions are thrown, used for the construction of the control flow graph
| Constructor Summary | |
|---|---|
MethodCFGThrowsWorkData()
|
|
| Method Summary | |
|---|---|
void |
add(javax.lang.model.type.TypeMirror exception,
Pair<AliasAnalysisVarHandle,TSFlowNode> information)
|
void |
caught(java.util.Collection<javax.lang.model.type.TypeMirror> caughtExceptions)
remove a collection of exception types (, because it is catch-ed somewhere, therefore not thrown anymore) |
void |
caught(javax.lang.model.type.TypeMirror caughtException)
remove a certain exception type (, because it is catch-ed somewhere, therefore not thrown anymore) |
boolean |
containsException(javax.lang.model.type.TypeMirror excpetion)
Check if exceptions of the passed exception type are known to be thrown |
java.util.Set<Pair<AliasAnalysisVarHandle,TSFlowNode>> |
getInformation(javax.lang.model.type.TypeMirror excpetion)
Get the information about the passed exception type |
void |
includeThrowInformation(java.util.Map<javax.lang.model.type.TypeMirror,java.util.Set<Pair<AliasAnalysisVarHandle,TSFlowNode>>> throwsThis)
Merge additional throws information in this structure. |
void |
includeThrowInformation(MethodCFGThrowsWorkData throwsThis)
Merge additional throws information in this structure. |
java.util.Set<javax.lang.model.type.TypeMirror> |
thrownExceptions()
get the Set of exception types that are known to be thrown |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodCFGThrowsWorkData()
| Method Detail |
|---|
public final void includeThrowInformation(java.util.Map<javax.lang.model.type.TypeMirror,java.util.Set<Pair<AliasAnalysisVarHandle,TSFlowNode>>> throwsThis)
public final void includeThrowInformation(MethodCFGThrowsWorkData throwsThis)
public final void add(javax.lang.model.type.TypeMirror exception,
Pair<AliasAnalysisVarHandle,TSFlowNode> information)
public final boolean containsException(javax.lang.model.type.TypeMirror excpetion)
excpetion - the exception to look up
public final java.util.Set<Pair<AliasAnalysisVarHandle,TSFlowNode>> getInformation(javax.lang.model.type.TypeMirror excpetion)
excpetion - the type of exception for which information is requested
public final java.util.Set<javax.lang.model.type.TypeMirror> thrownExceptions()
public final void caught(javax.lang.model.type.TypeMirror caughtException)
caughtException - the exception to be removedpublic final void caught(java.util.Collection<javax.lang.model.type.TypeMirror> caughtExceptions)
caughtExceptions - the exceptions to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||