@SupportedOptions(value="micronaut.route.validation") public class RouteValidationVisitor extends java.lang.Object implements TypeElementVisitor<java.lang.Object,HttpMethodMapping>
HttpMethodMapping and validates the
parameters are consistent with the URI.TypeElementVisitor.VisitorKindHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
RouteValidationVisitor() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.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, waitfinish, getSupportedOptions, visitClass, visitConstructor, visitField@NonNull public TypeElementVisitor.VisitorKind getVisitorKind()
getVisitorKind in interface TypeElementVisitor<java.lang.Object,HttpMethodMapping>public java.util.Set<java.lang.String> getSupportedAnnotationNames()
getSupportedAnnotationNames in interface TypeElementVisitor<java.lang.Object,HttpMethodMapping>public void visitMethod(MethodElement element, VisitorContext context)
TypeElementVisitorvisitMethod in interface TypeElementVisitor<java.lang.Object,HttpMethodMapping>element - The elementcontext - The visitor contextpublic void start(VisitorContext visitorContext)
TypeElementVisitorstart in interface TypeElementVisitor<java.lang.Object,HttpMethodMapping>visitorContext - The visitor context