public final class ListTypeAnnotator extends TypeAnnotator
TypeAnnotator
for each type visited.
Checkers should not extend ListTypeAnnotator; they should instead
pass a custom TypeAnnotator to the constructor.ImplicitsTypeAnnotator
,
PropagationTypeAnnotator
Modifier and Type | Field and Description |
---|---|
protected List<TypeAnnotator> |
annotators |
typeFactory
visitedNodes
Constructor and Description |
---|
ListTypeAnnotator(TypeAnnotator... annotators) |
Modifier and Type | Method and Description |
---|---|
protected Void |
scan(AnnotatedTypeMirror type,
Void aVoid)
Processes an element by calling e.accept(this, p); this method
may be overridden by subclasses.
|
visitExecutable
reduce, reset, scan, scanAndReduce, scanAndReduce, visit, visit, visitArray, visitDeclared, visitIntersection, visitNoType, visitNull, visitPrimitive, visitTypeVariable, visitUnion, visitWildcard
protected final List<TypeAnnotator> annotators
public ListTypeAnnotator(TypeAnnotator... annotators)
annotators
- the annotators that will be executed for
each type scanned by this TypeAnnotator.
They are executed in the order passed in.protected Void scan(AnnotatedTypeMirror type, Void aVoid)
AnnotatedTypeScanner
scan
in class AnnotatedTypeScanner<Void,Void>
type