protected class QualifierDefaults.DefaultApplierElement.DefaultApplierElementImpl extends AnnotatedTypeScanner<Void,AnnotationMirror>
AnnotatedTypeScanner.Reduce<R>
defaultResult, reduceFunction, visitedNodes
Modifier | Constructor and Description |
---|---|
protected |
DefaultApplierElementImpl() |
Modifier and Type | Method and Description |
---|---|
void |
reset()
Reset the scanner to allow reuse of the same instance.
|
Void |
scan(AnnotatedTypeMirror t,
AnnotationMirror qual)
Scan
type by calling type.accept(this, p) ; this method may be overridden by
subclasses. |
protected void |
visitBounds(AnnotatedTypeMirror boundedType,
AnnotatedTypeMirror upperBound,
AnnotatedTypeMirror lowerBound,
AnnotationMirror qual)
Visit the bounds of a type variable or a wildcard and potentially apply qual to those
bounds.
|
Void |
visitTypeVariable(AnnotatedTypeMirror.AnnotatedTypeVariable type,
AnnotationMirror qual)
Visits a type variable.
|
Void |
visitWildcard(AnnotatedTypeMirror.AnnotatedWildcardType type,
AnnotationMirror qual)
Visits a wildcard type.
|
reduce, scan, scanAndReduce, scanAndReduce, visit, visit, visitArray, visitDeclared, visitExecutable, visitIntersection, visitNoType, visitNull, visitPrimitive, visitUnion
public Void scan(@FindDistinct AnnotatedTypeMirror t, AnnotationMirror qual)
AnnotatedTypeScanner
type
by calling type.accept(this, p)
; this method may be overridden by
subclasses.scan
in class AnnotatedTypeScanner<Void,AnnotationMirror>
t
- type to scanqual
- the parameter to usetype
public void reset()
AnnotatedTypeScanner
reset
in class AnnotatedTypeScanner<Void,AnnotationMirror>
public Void visitTypeVariable(AnnotatedTypeMirror.AnnotatedTypeVariable type, AnnotationMirror qual)
AnnotatedTypeVisitor
visitTypeVariable
in interface AnnotatedTypeVisitor<Void,AnnotationMirror>
visitTypeVariable
in class AnnotatedTypeScanner<Void,AnnotationMirror>
type
- the type to visitqual
- a visitor-specified parameterpublic Void visitWildcard(AnnotatedTypeMirror.AnnotatedWildcardType type, AnnotationMirror qual)
AnnotatedTypeVisitor
visitWildcard
in interface AnnotatedTypeVisitor<Void,AnnotationMirror>
visitWildcard
in class AnnotatedTypeScanner<Void,AnnotationMirror>
type
- the type to visitqual
- a visitor-specified parameterprotected void visitBounds(AnnotatedTypeMirror boundedType, AnnotatedTypeMirror upperBound, AnnotatedTypeMirror lowerBound, AnnotationMirror qual)