protected class InitializationAnnotatedTypeFactory.CommitmentTypeAnnotator extends TypeAnnotator
AnnotatedTypeScanner.Reduce<R>typeFactorydefaultResult, 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, visitWildcardpublic CommitmentTypeAnnotator(InitializationAnnotatedTypeFactory<?,?,?,?> atypeFactory)
public Void visitExecutable(AnnotatedTypeMirror.AnnotatedExecutableType t, Void p)
TypeAnnotatorIf 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. Likewise for return
types.
visitExecutable in interface AnnotatedTypeVisitor<Void,Void>visitExecutable in class TypeAnnotatort - the type to visitp - a visitor-specified parameter