protected class InitializationAnnotatedTypeFactory.CommitmentTypeAnnotator extends TypeAnnotator
AnnotatedTypeScanner.Reduce<R>
typeFactory
defaultResult, reduceFunction, visitedNodes
Constructor and Description |
---|
CommitmentTypeAnnotator(InitializationAnnotatedTypeFactory<?,?,?,?> atypeFactory) |
Modifier and Type | Method and Description |
---|---|
Void |
visitExecutable(AnnotatedTypeMirror.AnnotatedExecutableType t,
Void p)
Visits an executable type.
|
reduce, reset, scan, scan, scanAndReduce, scanAndReduce, visit, visit, visitArray, visitDeclared, visitIntersection, visitNoType, visitNull, visitPrimitive, visitTypeVariable, visitUnion, visitWildcard
public CommitmentTypeAnnotator(InitializationAnnotatedTypeFactory<?,?,?,?> atypeFactory)
public Void visitExecutable(AnnotatedTypeMirror.AnnotatedExecutableType t, Void p)
TypeAnnotator
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<Void,Void>
visitExecutable
in class TypeAnnotator
t
- the type to visitp
- a visitor-specified parameter