val annotations: Array<KClass<out Annotation>>
Array of annotations.
Controllers that are annotated with this/one of those annotation(s) will be assisted by the @ControllerAdvice annotated class.
Consider creating a special annotation or use a predefined one, like RestController.
Since
4.0