protected class QualifierDefaults.DefaultApplierElement.DefaultApplierElementImpl extends AnnotatedTypeScanner<java.lang.Void,javax.lang.model.element.AnnotationMirror>
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.
|
java.lang.Void |
scan(AnnotatedTypeMirror t,
javax.lang.model.element.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,
javax.lang.model.element.AnnotationMirror qual)
Visit the bounds of a type variable or a wildcard and potentially apply qual to those
bounds.
|
java.lang.Void |
visitTypeVariable(AnnotatedTypeMirror.AnnotatedTypeVariable type,
javax.lang.model.element.AnnotationMirror qual)
Visits a type variable.
|
java.lang.Void |
visitWildcard(AnnotatedTypeMirror.AnnotatedWildcardType type,
javax.lang.model.element.AnnotationMirror qual)
Visits a wildcard type.
|
reduce, scan, scanAndReduce, scanAndReduce, visit, visit, visitArray, visitDeclared, visitExecutable, visitIntersection, visitNoType, visitNull, visitPrimitive, visitUnion
public java.lang.Void scan(AnnotatedTypeMirror t, javax.lang.model.element.AnnotationMirror qual)
AnnotatedTypeScanner
type
by calling type.accept(this, p)
; this method may be overridden by
subclasses.scan
in class AnnotatedTypeScanner<java.lang.Void,javax.lang.model.element.AnnotationMirror>
t
- type to scanqual
- the parameter to usetype
public void reset()
AnnotatedTypeScanner
reset
in class AnnotatedTypeScanner<java.lang.Void,javax.lang.model.element.AnnotationMirror>
public java.lang.Void visitTypeVariable(AnnotatedTypeMirror.AnnotatedTypeVariable type, javax.lang.model.element.AnnotationMirror qual)
AnnotatedTypeVisitor
visitTypeVariable
in interface AnnotatedTypeVisitor<java.lang.Void,javax.lang.model.element.AnnotationMirror>
visitTypeVariable
in class AnnotatedTypeScanner<java.lang.Void,javax.lang.model.element.AnnotationMirror>
type
- the type to visitqual
- a visitor-specified parameterpublic java.lang.Void visitWildcard(AnnotatedTypeMirror.AnnotatedWildcardType type, javax.lang.model.element.AnnotationMirror qual)
AnnotatedTypeVisitor
visitWildcard
in interface AnnotatedTypeVisitor<java.lang.Void,javax.lang.model.element.AnnotationMirror>
visitWildcard
in class AnnotatedTypeScanner<java.lang.Void,javax.lang.model.element.AnnotationMirror>
type
- the type to visitqual
- a visitor-specified parameterprotected void visitBounds(AnnotatedTypeMirror boundedType, AnnotatedTypeMirror upperBound, AnnotatedTypeMirror lowerBound, javax.lang.model.element.AnnotationMirror qual)