Class IndexRefinementInfo
java.lang.Object
org.checkerframework.checker.index.IndexRefinementInfo
This struct contains all of the information that the refinement functions need. It's called by
 each node function (i.e. greater than node, less than node, etc.) and then the results are passed
 to the refinement function in whatever order is appropriate for that node. Its constructor
 contains all of its logic.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal CFStoreThe else store.final NodeThe left operand.final @Nullable AnnotationMirrorAnnotation for left expressions.The new result, after refinement.final NodeThe right operand.final @Nullable AnnotationMirrorAnnotation for right expressions.final CFStoreThe then store.
- 
Constructor SummaryConstructorsConstructorDescriptionIndexRefinementInfo(TransferResult<CFValue, CFStore> result, CFAbstractAnalysis<?, ?, ?> analysis, BinaryOperationNode node) IndexRefinementInfo(TransferResult<CFValue, CFStore> result, CFAbstractAnalysis<?, ?, ?> analysis, Node right, Node left) Creates a new IndexRefinementInfo.
- 
Method Summary
- 
Field Details- 
leftThe left operand.
- 
rightThe right operand.
- 
leftAnnoAnnotation for left expressions. Might be null if dataflow doesn't have a value for the expression.
- 
rightAnnoAnnotation for right expressions. Might be null if dataflow doesn't have a value for the expression.
- 
thenStoreThe then store.
- 
elseStoreThe else store.
- 
newResultThe new result, after refinement.
 
- 
- 
Constructor Details- 
IndexRefinementInfopublic IndexRefinementInfo(TransferResult<CFValue, CFStore> result, CFAbstractAnalysis<?, ?, ?> analysis, Node right, Node left) Creates a new IndexRefinementInfo.- Parameters:
- left- the left operand
- right- the right operand
- result- the new result, after refinement
- analysis- the CFAbstractAnalysis
 
- 
IndexRefinementInfopublic IndexRefinementInfo(TransferResult<CFValue, CFStore> result, CFAbstractAnalysis<?, ?, ?> analysis, BinaryOperationNode node) 
 
-