Class QualifierDefaults.DefaultApplierElement.DefaultApplierElementImpl
java.lang.Object
org.checkerframework.framework.type.visitor.AnnotatedTypeScanner<Void,AnnotationMirror>
 
org.checkerframework.framework.util.defaults.QualifierDefaults.DefaultApplierElement.DefaultApplierElementImpl
- All Implemented Interfaces:
- AnnotatedTypeVisitor<Void,- AnnotationMirror> 
- Enclosing class:
- QualifierDefaults.DefaultApplierElement
protected class QualifierDefaults.DefaultApplierElement.DefaultApplierElementImpl
extends AnnotatedTypeScanner<Void,AnnotationMirror> 
- 
Nested Class SummaryNested classes/interfaces inherited from class org.checkerframework.framework.type.visitor.AnnotatedTypeScannerAnnotatedTypeScanner.Reduce<R>
- 
Field SummaryFields inherited from class org.checkerframework.framework.type.visitor.AnnotatedTypeScannerdefaultResult, reduceFunction, visitedNodes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidreset()Reset the scanner to allow reuse of the same instance.scan(AnnotatedTypeMirror t, AnnotationMirror qual) Scantypeby callingtype.accept(this, p); this method may be overridden by subclasses.protected voidvisitBounds(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.Visits a type variable.Visits a wildcard type.Methods inherited from class org.checkerframework.framework.type.visitor.AnnotatedTypeScannerreduce, scan, scanAndReduce, scanAndReduce, visit, visit, visitArray, visitDeclared, visitExecutable, visitIntersection, visitNoType, visitNull, visitPrimitive, visitUnion
- 
Constructor Details- 
DefaultApplierElementImplprotected DefaultApplierElementImpl()
 
- 
- 
Method Details- 
scanDescription copied from class:AnnotatedTypeScannerScantypeby callingtype.accept(this, p); this method may be overridden by subclasses.- Overrides:
- scanin class- AnnotatedTypeScanner<Void,- AnnotationMirror> 
- Parameters:
- t- type to scan
- qual- the parameter to use
- Returns:
- the result of visiting type
 
- 
resetpublic void reset()Description copied from class:AnnotatedTypeScannerReset the scanner to allow reuse of the same instance. Subclasses should override this method to clear their additional state; they must call the super implementation.- Overrides:
- resetin class- AnnotatedTypeScanner<Void,- AnnotationMirror> 
 
- 
visitTypeVariablepublic Void visitTypeVariable(AnnotatedTypeMirror.AnnotatedTypeVariable type, AnnotationMirror qual) Description copied from interface:AnnotatedTypeVisitorVisits a type variable.- Specified by:
- visitTypeVariablein interface- AnnotatedTypeVisitor<Void,- AnnotationMirror> 
- Overrides:
- visitTypeVariablein class- AnnotatedTypeScanner<Void,- AnnotationMirror> 
- Parameters:
- type- the type to visit
- qual- a visitor-specified parameter
- Returns:
- a visitor-specified result
 
- 
visitWildcardDescription copied from interface:AnnotatedTypeVisitorVisits a wildcard type.- Specified by:
- visitWildcardin interface- AnnotatedTypeVisitor<Void,- AnnotationMirror> 
- Overrides:
- visitWildcardin class- AnnotatedTypeScanner<Void,- AnnotationMirror> 
- Parameters:
- type- the type to visit
- qual- a visitor-specified parameter
- Returns:
- a visitor-specified result
 
- 
visitBoundsprotected 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. This method will also update the boundType, isLowerBound, and isUpperbound fields.
 
-