@Internal public final class AsyncTypeElementVisitor extends java.lang.Object implements TypeElementVisitor<java.lang.Object,Async>
TypeElementVisitor that validates methods annotated with Async return void or futures.TypeElementVisitor.VisitorKindHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
AsyncTypeElementVisitor() |
| Modifier and Type | Method and Description |
|---|---|
TypeElementVisitor.VisitorKind |
getVisitorKind() |
void |
visitMethod(MethodElement element,
VisitorContext context)
Executed when a method is encountered that matches the
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinish, getSupportedAnnotationNames, getSupportedOptions, start, visitClass, visitConstructor, visitField@NonNull public TypeElementVisitor.VisitorKind getVisitorKind()
getVisitorKind in interface TypeElementVisitor<java.lang.Object,Async>public void visitMethod(MethodElement element, VisitorContext context)
TypeElementVisitorvisitMethod in interface TypeElementVisitor<java.lang.Object,Async>element - The elementcontext - The visitor context