public class SimpleAnnotatedTypeScanner<R,P> extends AnnotatedTypeScanner<R,P>
visitedNodes
Constructor and Description |
---|
SimpleAnnotatedTypeScanner() |
Modifier and Type | Method and Description |
---|---|
protected R |
defaultAction(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, reset, scan, scan, scanAndReduce, scanAndReduce, visit, visit, visitIntersection, visitUnion
protected R defaultAction(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,P>
visitDeclared
in class AnnotatedTypeScanner<R,P>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitExecutable(AnnotatedTypeMirror.AnnotatedExecutableType type, P p)
visitExecutable
in interface AnnotatedTypeVisitor<R,P>
visitExecutable
in class AnnotatedTypeScanner<R,P>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitArray(AnnotatedTypeMirror.AnnotatedArrayType type, P p)
visitArray
in interface AnnotatedTypeVisitor<R,P>
visitArray
in class AnnotatedTypeScanner<R,P>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitTypeVariable(AnnotatedTypeMirror.AnnotatedTypeVariable type, P p)
visitTypeVariable
in interface AnnotatedTypeVisitor<R,P>
visitTypeVariable
in class AnnotatedTypeScanner<R,P>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitPrimitive(AnnotatedTypeMirror.AnnotatedPrimitiveType type, P p)
visitPrimitive
in interface AnnotatedTypeVisitor<R,P>
visitPrimitive
in class AnnotatedTypeScanner<R,P>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitNoType(AnnotatedTypeMirror.AnnotatedNoType type, P p)
visitNoType
in interface AnnotatedTypeVisitor<R,P>
visitNoType
in class AnnotatedTypeScanner<R,P>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitNull(AnnotatedTypeMirror.AnnotatedNullType type, P p)
null
type.visitNull
in interface AnnotatedTypeVisitor<R,P>
visitNull
in class AnnotatedTypeScanner<R,P>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitWildcard(AnnotatedTypeMirror.AnnotatedWildcardType type, P p)
visitWildcard
in interface AnnotatedTypeVisitor<R,P>
visitWildcard
in class AnnotatedTypeScanner<R,P>
type
- the type to visitp
- a visitor-specified parameter