@SupportedOptions(value="micronaut.route.validation") public class RouteValidationVisitor extends Object implements TypeElementVisitor<Object,Object>
TypeElementVisitor.VisitorKind
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
RouteValidationVisitor() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getSupportedAnnotationNames() |
TypeElementVisitor.VisitorKind |
getVisitorKind() |
void |
start(VisitorContext visitorContext)
Called once when visitor processing starts.
|
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, getSupportedOptions, visitClass, visitConstructor, visitField
isEnabled
@NonNull public TypeElementVisitor.VisitorKind getVisitorKind()
getVisitorKind
in interface TypeElementVisitor<Object,Object>
public Set<String> getSupportedAnnotationNames()
getSupportedAnnotationNames
in interface TypeElementVisitor<Object,Object>
public void visitMethod(MethodElement element, VisitorContext context)
TypeElementVisitor
visitMethod
in interface TypeElementVisitor<Object,Object>
element
- The elementcontext
- The visitor contextpublic void start(VisitorContext visitorContext)
TypeElementVisitor
start
in interface TypeElementVisitor<Object,Object>
visitorContext
- The visitor context