public abstract class TypeAnnotator extends AnnotatedTypeScanner<java.lang.Void,java.lang.Void>
TypeAnnotator is an abstract AnnotatedTypeScanner to be used with ListTypeAnnotator.| Modifier and Type | Field and Description |
|---|---|
protected AnnotatedTypeFactory |
typeFactory |
visitedNodes| Constructor and Description |
|---|
TypeAnnotator(AnnotatedTypeFactory typeFactory) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Void |
visitExecutable(AnnotatedTypeMirror.AnnotatedExecutableType method,
java.lang.Void aVoid)
Visits an executable type.
|
reduce, reset, scan, scan, scanAndReduce, scanAndReduce, visit, visit, visitArray, visitDeclared, visitIntersection, visitNoType, visitNull, visitPrimitive, visitTypeVariable, visitUnion, visitWildcardprotected final AnnotatedTypeFactory typeFactory
public TypeAnnotator(AnnotatedTypeFactory typeFactory)
public java.lang.Void visitExecutable(AnnotatedTypeMirror.AnnotatedExecutableType method, java.lang.Void aVoid)
If this method adds annotations to the type of method parameters, then GenericAnnotatedTypeFactory.addComputedTypeAnnotations(Element,
AnnotatedTypeMirror) should be overriden and the same annotations added to the type of
elements with kind ElementKind.PARAMETER.
visitExecutable in interface AnnotatedTypeVisitor<java.lang.Void,java.lang.Void>visitExecutable in class AnnotatedTypeScanner<java.lang.Void,java.lang.Void>method - the type to visitaVoid - a visitor-specified parameter