Class ExecutableVisitor
java.lang.Object
io.micronaut.context.visitor.ExecutableVisitor
- All Implemented Interfaces:
Ordered, Toggleable, TypeElementVisitor<Object, Executable>
@Internal
public class ExecutableVisitor
extends Object
implements TypeElementVisitor<Object, Executable>
A
TypeElementVisitor that validates primitive types can't have a Nullable annotation.- Since:
- 2.0.1
- Author:
- Iván López
-
Nested Class Summary
Nested classes/interfaces inherited from interface TypeElementVisitor
TypeElementVisitor.VisitorKind -
Field Summary
Fields inherited from interface Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionquery()The query which allows to reduce the scope which the visitor is visiting.voidvisitMethod(MethodElement element, VisitorContext context) Executed when a method is encountered that matches the <E> generic.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Toggleable
isEnabledMethods inherited from interface TypeElementVisitor
finish, getClassType, getElementType, getSupportedAnnotationNames, getSupportedOptions, start, visitClass, visitConstructor, visitEnumConstant, visitField
-
Constructor Details
-
ExecutableVisitor
public ExecutableVisitor()
-
-
Method Details
-
getVisitorKind
- Specified by:
getVisitorKindin interfaceTypeElementVisitor<Object, Executable>- Returns:
- The visitor kind.
-
query
Description copied from interface:TypeElementVisitorThe query which allows to reduce the scope which the visitor is visiting.- Specified by:
queryin interfaceTypeElementVisitor<Object, Executable>- Returns:
- The query if the visitor.
-
visitMethod
Description copied from interface:TypeElementVisitorExecuted when a method is encountered that matches the <E> generic.- Specified by:
visitMethodin interfaceTypeElementVisitor<Object, Executable>- Parameters:
element- The elementcontext- The visitor context
-