public class OffsetDependentTypesHelper extends DependentTypesHelper
array.length - 1
.factory
Constructor and Description |
---|
OffsetDependentTypesHelper(AnnotatedTypeFactory factory) |
Modifier and Type | Method and Description |
---|---|
TreeAnnotator |
createDependentTypesTreeAnnotator()
Creates a TreeAnnotator that standardizes dependent type annotations.
|
protected String |
standardizeString(String expression,
JavaExpressionParseUtil.JavaExpressionContext context,
TreePath localScope,
boolean useLocalScope)
Standardizes a Java expression.
|
checkAnnotation, checkClass, checkMethod, checkType, hasDependentAnnotations, reportErrors, standardizeAnnotationIfDependentType, standardizeClass, standardizeExpression, standardizeFieldAccess, standardizeForMethodSignature, standardizeNewClassTree, standardizeReturnType, standardizeReturnType, standardizeVariable, standardizeVariable, viewpointAdaptConstructor, viewpointAdaptMethod, viewpointAdaptTypeVariableBounds
public OffsetDependentTypesHelper(AnnotatedTypeFactory factory)
protected String standardizeString(String expression, JavaExpressionParseUtil.JavaExpressionContext context, TreePath localScope, boolean useLocalScope)
DependentTypesHelper
standardizeString
in class DependentTypesHelper
expression
- a Java expressioncontext
- the contextlocalScope
- the local scopeuseLocalScope
- whether localScope
should be used to resolve identifierspublic TreeAnnotator createDependentTypesTreeAnnotator()
DependentTypesHelper
createDependentTypesTreeAnnotator
in class DependentTypesHelper