Package io.micronaut.context.annotation
Annotation Interface Mixin.Filter
- Enclosing class:
- Mixin
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]
Opposite ofincludeAnnotations()
.String[]
Filters which annotations are included.String[]
Remove the annotation from the target element.
-
Element Details
-
includeAnnotations
String[] includeAnnotationsFilters which annotations are included. The predicate will useString.startsWith(String)
to verify if the annotation name should be included.- Returns:
- The full annotation name or a package to check if the annotation should be included.
- Default:
- {}
-
excludeAnnotations
String[] excludeAnnotationsOpposite ofincludeAnnotations()
. Filters which annotations to exclude.- Returns:
- The full annotation name or a package to check if the annotation should not be excluded.
- Default:
- {}
-
removeAnnotations
String[] removeAnnotationsRemove the annotation from the target element. The predicate will useString.startsWith(String)
to verify if the annotation name should be removed.- Returns:
- The full annotation name or a package to check if the annotation should not be removed.
- Default:
- {}
-