public class IrrelevantTypeAnnotator extends TypeAnnotator
RelevantJavaTypes on a
checker.AnnotatedTypeScanner.Reduce<R>typeFactorydefaultResult, reduceFunction, visitedNodes| Constructor and Description |
|---|
IrrelevantTypeAnnotator(GenericAnnotatedTypeFactory typeFactory,
Set<? extends AnnotationMirror> annotations)
Annotate every type with the annotationMirror except for those whose underlying Java type is
one of (or a subtype of) a class in relevantClasses.
|
| Modifier and Type | Method and Description |
|---|---|
protected Void |
scan(AnnotatedTypeMirror type,
Void aVoid)
Scan
type by calling type.accept(this, p); this method may be overridden by
subclasses. |
visitExecutablereduce, reset, scan, scanAndReduce, scanAndReduce, visit, visit, visitArray, visitDeclared, visitIntersection, visitNoType, visitNull, visitPrimitive, visitTypeVariable, visitUnion, visitWildcardpublic IrrelevantTypeAnnotator(GenericAnnotatedTypeFactory typeFactory, Set<? extends AnnotationMirror> annotations)
typeFactory - AnnotatedTypeFactoryannotations - annotations to addprotected Void scan(AnnotatedTypeMirror type, Void aVoid)
AnnotatedTypeScannertype by calling type.accept(this, p); this method may be overridden by
subclasses.scan in class AnnotatedTypeScanner<Void,Void>type - type to scanaVoid - the parameter to usetype