public class SimpleAnnotatedTypeScanner<R extends @NonNull Object,P extends @NonNull Object> extends AnnotatedTypeScanner<R,P>
visitedNodes
Constructor and Description |
---|
SimpleAnnotatedTypeScanner() |
Modifier and Type | Method and Description |
---|---|
protected R |
defaultAction(@Mutable AnnotatedTypeMirror type,
P p)
Called by default for any visit method that is not overridden.
|
R |
visitArray(AnnotatedTypeMirror.AnnotatedArrayType type,
P p)
Visits an array type.
|
R |
visitDeclared(AnnotatedTypeMirror.AnnotatedDeclaredType type,
P p)
Visits a declared type.
|
R |
visitExecutable(AnnotatedTypeMirror.AnnotatedExecutableType type,
P p)
Visits an executable type.
|
R |
visitNoType(AnnotatedTypeMirror.AnnotatedNoType type,
P p)
Visits NoType type.
|
R |
visitNull(AnnotatedTypeMirror.AnnotatedNullType type,
P p)
Visits a
null type. |
R |
visitPrimitive(AnnotatedTypeMirror.AnnotatedPrimitiveType type,
P p)
Visits a primitive type.
|
R |
visitTypeVariable(AnnotatedTypeMirror.AnnotatedTypeVariable type,
P p)
Visits a type variable.
|
R |
visitWildcard(AnnotatedTypeMirror.AnnotatedWildcardType type,
P p)
Visits a wildcard type.
|
reduce, scan, scan, scanAndReduce, scanAndReduce, visit, visit
protected R defaultAction(@Mutable AnnotatedTypeMirror type, P p)
type
- the type to visitp
- a visitor-specified parameterpublic final R visitDeclared(AnnotatedTypeMirror.AnnotatedDeclaredType type, P p)
visitDeclared
in interface AnnotatedTypeVisitor<R extends @NonNull Object,P extends @NonNull Object>
visitDeclared
in class AnnotatedTypeScanner<R extends @NonNull Object,P extends @NonNull Object>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitExecutable(AnnotatedTypeMirror.AnnotatedExecutableType type, P p)
visitExecutable
in interface AnnotatedTypeVisitor<R extends @NonNull Object,P extends @NonNull Object>
visitExecutable
in class AnnotatedTypeScanner<R extends @NonNull Object,P extends @NonNull Object>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitArray(AnnotatedTypeMirror.AnnotatedArrayType type, P p)
visitArray
in interface AnnotatedTypeVisitor<R extends @NonNull Object,P extends @NonNull Object>
visitArray
in class AnnotatedTypeScanner<R extends @NonNull Object,P extends @NonNull Object>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitTypeVariable(AnnotatedTypeMirror.AnnotatedTypeVariable type, P p)
visitTypeVariable
in interface AnnotatedTypeVisitor<R extends @NonNull Object,P extends @NonNull Object>
visitTypeVariable
in class AnnotatedTypeScanner<R extends @NonNull Object,P extends @NonNull Object>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitPrimitive(AnnotatedTypeMirror.AnnotatedPrimitiveType type, P p)
visitPrimitive
in interface AnnotatedTypeVisitor<R extends @NonNull Object,P extends @NonNull Object>
visitPrimitive
in class AnnotatedTypeScanner<R extends @NonNull Object,P extends @NonNull Object>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitNoType(AnnotatedTypeMirror.AnnotatedNoType type, P p)
visitNoType
in interface AnnotatedTypeVisitor<R extends @NonNull Object,P extends @NonNull Object>
visitNoType
in class AnnotatedTypeScanner<R extends @NonNull Object,P extends @NonNull Object>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitNull(AnnotatedTypeMirror.AnnotatedNullType type, P p)
null
type.visitNull
in interface AnnotatedTypeVisitor<R extends @NonNull Object,P extends @NonNull Object>
visitNull
in class AnnotatedTypeScanner<R extends @NonNull Object,P extends @NonNull Object>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitWildcard(AnnotatedTypeMirror.AnnotatedWildcardType type, P p)
visitWildcard
in interface AnnotatedTypeVisitor<R extends @NonNull Object,P extends @NonNull Object>
visitWildcard
in class AnnotatedTypeScanner<R extends @NonNull Object,P extends @NonNull Object>
type
- the type to visitp
- a visitor-specified parameter