Package io.micronaut.validation.routes
Class FilterVisitor
java.lang.Object
io.micronaut.validation.routes.FilterVisitor
- All Implemented Interfaces:
Ordered
,Toggleable
,TypeElementVisitor<Object,
Object>
Visitor that checks validity of
ServerFilter
and ClientFilter
classes.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.inject.visitor.TypeElementVisitor
TypeElementVisitor.VisitorKind
-
Field Summary
Fields inherited from interface io.micronaut.core.order.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.void
visitMethod
(MethodElement element, VisitorContext context) Executed when a method is encountered that matches the <E> generic.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.util.Toggleable
isEnabled
Methods inherited from interface io.micronaut.inject.visitor.TypeElementVisitor
finish, getClassType, getElementType, getSupportedOptions, start, visitClass, visitConstructor, visitEnumConstant, visitField
-
Constructor Details
-
FilterVisitor
public FilterVisitor()
-
-
Method Details
-
getVisitorKind
- Specified by:
getVisitorKind
in interfaceTypeElementVisitor<Object,
Object> - Returns:
- The visitor kind.
-
getSupportedAnnotationNames
- Specified by:
getSupportedAnnotationNames
in interfaceTypeElementVisitor<Object,
Object> - Returns:
- The supported default annotation names.
-
query
Description copied from interface:TypeElementVisitor
The query which allows to reduce the scope which the visitor is visiting.- Specified by:
query
in interfaceTypeElementVisitor<Object,
Object> - Returns:
- The query if the visitor.
-
visitMethod
Description copied from interface:TypeElementVisitor
Executed when a method is encountered that matches the <E> generic.- Specified by:
visitMethod
in interfaceTypeElementVisitor<Object,
Object> - Parameters:
element
- The elementcontext
- The visitor context
-