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.
DefaultForTypeAnnotator,
PropagationTypeAnnotatorAnnotatedTypeScanner.Reduce<R>typeFactorydefaultResult, reduceFunction, visitedNodes| Constructor and Description |
|---|
ListTypeAnnotator(List<TypeAnnotator> annotators) |
ListTypeAnnotator(TypeAnnotator... annotators)
Create a new ListTypeAnnotator.
|
| 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. |
String |
toString() |
visitExecutablereduce, reset, scan, scanAndReduce, scanAndReduce, visit, visit, visitArray, visitDeclared, visitIntersection, visitNoType, visitNull, visitPrimitive, visitTypeVariable, visitUnion, visitWildcardpublic 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.public ListTypeAnnotator(List<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)
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