protected class BaseTypeVisitor.TypeValidator extends AnnotatedTypeScanner<@Nullable Void,@Nullable Tree>
Modifier and Type | Field and Description |
---|---|
boolean |
isValid |
visitedNodes
Modifier | Constructor and Description |
---|---|
protected |
BaseTypeVisitor.TypeValidator() |
reduce, scan, scan, scanAndReduce, scanAndReduce, visit, visit, visitExecutable, visitNoType, visitNull
protected void reportError(@Mutable AnnotatedTypeMirror type, @Nullable Tree p)
public @Nullable Void visitDeclared(AnnotatedTypeMirror.AnnotatedDeclaredType type, @Nullable Tree tree)
AnnotatedTypeVisitor
visitDeclared
in interface AnnotatedTypeVisitor<@Nullable Void,@Nullable Tree>
visitDeclared
in class AnnotatedTypeScanner<@Nullable Void,@Nullable Tree>
type
- the type to visittree
- a visitor-specified parameterpublic @Nullable Void visitPrimitive(AnnotatedTypeMirror.AnnotatedPrimitiveType type, @Nullable Tree tree)
AnnotatedTypeVisitor
visitPrimitive
in interface AnnotatedTypeVisitor<@Nullable Void,@Nullable Tree>
visitPrimitive
in class AnnotatedTypeScanner<@Nullable Void,@Nullable Tree>
type
- the type to visittree
- a visitor-specified parameterpublic @Nullable Void visitArray(AnnotatedTypeMirror.AnnotatedArrayType type, @Nullable Tree tree)
AnnotatedTypeVisitor
visitArray
in interface AnnotatedTypeVisitor<@Nullable Void,@Nullable Tree>
visitArray
in class AnnotatedTypeScanner<@Nullable Void,@Nullable Tree>
type
- the type to visittree
- a visitor-specified parameterprotected @Nullable Void visitParameterizedType(AnnotatedTypeMirror.AnnotatedDeclaredType type, ParameterizedTypeTree tree)
public @Nullable Void visitTypeVariable(AnnotatedTypeMirror.AnnotatedTypeVariable type, @Nullable Tree tree)
AnnotatedTypeVisitor
visitTypeVariable
in interface AnnotatedTypeVisitor<@Nullable Void,@Nullable Tree>
visitTypeVariable
in class AnnotatedTypeScanner<@Nullable Void,@Nullable Tree>
type
- the type to visittree
- a visitor-specified parameterpublic @Nullable Void visitWildcard(AnnotatedTypeMirror.AnnotatedWildcardType type, @Nullable Tree tree)
AnnotatedTypeVisitor
visitWildcard
in interface AnnotatedTypeVisitor<@Nullable Void,@Nullable Tree>
visitWildcard
in class AnnotatedTypeScanner<@Nullable Void,@Nullable Tree>
type
- the type to visittree
- a visitor-specified parameter