Class IndexUtil
java.lang.Object
org.checkerframework.checker.index.IndexUtil
A collection of utility functions used by several Index Checker subcheckers.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ExpressionTreegetLengthSequenceTree(Tree lengthTree, IndexMethodIdentifier imf, ProcessingEnvironment processingEnv) Gets a sequence tree for a length access tree, or null if it is not a length access.static booleanisSequenceType(TypeMirror type) Determines whether the type is a sequence supported by this checker.
- 
Constructor Details- 
IndexUtilpublic IndexUtil()
 
- 
- 
Method Details- 
isSequenceTypeDetermines whether the type is a sequence supported by this checker.
- 
getLengthSequenceTreepublic static ExpressionTree getLengthSequenceTree(Tree lengthTree, IndexMethodIdentifier imf, ProcessingEnvironment processingEnv) Gets a sequence tree for a length access tree, or null if it is not a length access.
 
-