Interface AnnotationProcessor

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AnnotationProcessor
Inspects a handler class at registration time and returns zero or more middlewares to inject automatically.

Processors are called once per register call, before the handler is compiled into the router. Returning an empty list is always valid: processors may also use the call purely for side effects (e.g. collecting OpenAPI metadata).

Register processors via FlashContext.addAnnotationProcessor(dev.relism.flash.extension.AnnotationProcessor).