Class IndexUtil
java.lang.Object
org.checkerframework.checker.index.IndexUtil
A collection of utility functions used by several Index Checker subcheckers.
- 
Method SummaryModifier and TypeMethodDescriptionstatic @Nullable 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) Returns true if the type is a sequence supported by this checker.
- 
Method Details- 
isSequenceTypeReturns true if the type is a sequence supported by this checker.- Parameters:
- type- a type
- Returns:
- true if the type is a sequence supported by this checker
 
- 
getLengthSequenceTreepublic static @Nullable 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.
 
-