@Internal public class ExecutableVisitor extends Object implements TypeElementVisitor<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, getClassType, getElementType, getSupportedAnnotationNames, getSupportedOptions, start, visitClass, visitConstructor, visitField
isEnabled
@NonNull public TypeElementVisitor.VisitorKind getVisitorKind()
getVisitorKind
in interface TypeElementVisitor<Object,Executable>
public void visitMethod(MethodElement element, VisitorContext context)
TypeElementVisitor
visitMethod
in interface TypeElementVisitor<Object,Executable>
element
- The elementcontext
- The visitor context