@Internal public class ExecutableVisitor extends java.lang.Object implements TypeElementVisitor<java.lang.Object,Executable>
TypeElementVisitor
that validates primitive types can't have a Nullable annotation.TypeElementVisitor.VisitorKind
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ExecutableVisitor() |
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, wait
finish, getSupportedAnnotationNames, getSupportedOptions, start, visitClass, visitConstructor, visitField
@NonNull public TypeElementVisitor.VisitorKind getVisitorKind()
getVisitorKind
in interface TypeElementVisitor<java.lang.Object,Executable>
public void visitMethod(MethodElement element, VisitorContext context)
TypeElementVisitor
visitMethod
in interface TypeElementVisitor<java.lang.Object,Executable>
element
- The elementcontext
- The visitor context