Class CFGTranslationPhaseOne.AssertMethodTuple
java.lang.Object
org.checkerframework.dataflow.cfg.builder.CFGTranslationPhaseOne.AssertMethodTuple
- Enclosing class:
- CFGTranslationPhaseOne
Holds the elements of an 
AssertMethod annotation.- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal int0-based index of the parameter of the expression that is tested by the assert method.final TypeMirrorThe type of the exception thrown by the assert method.final booleanIs this an assert false method?protected static final CFGTranslationPhaseOne.AssertMethodTupleA tuple representing the lack of anCFGTranslationPhaseOne.AssertMethodTuple.
- 
Constructor SummaryConstructorsConstructorDescriptionAssertMethodTuple(int booleanParam, TypeMirror exceptionType, boolean isAssertFalse) Creates an AssertMethodTuple.
- 
Method Summary
- 
Field Details- 
NONEA tuple representing the lack of anCFGTranslationPhaseOne.AssertMethodTuple.
- 
booleanParampublic final int booleanParam0-based index of the parameter of the expression that is tested by the assert method. (Or -1 if this isn't an assert method.)
- 
exceptionTypeThe type of the exception thrown by the assert method.
- 
isAssertFalsepublic final boolean isAssertFalseIs this an assert false method?
 
- 
- 
Constructor Details- 
AssertMethodTupleCreates an AssertMethodTuple.- Parameters:
- booleanParam- 0-based index of the parameter of the expression that is tested by the assert method
- exceptionType- the type of the exception thrown by the assert method
- isAssertFalse- is this an assert false method
 
 
-