Annotation Type DynamicActive
-
@Target(ANNOTATION_TYPE) public @interface DynamicActive
In contrast to@Active
the annotation processor is not specified by the active annotation but by theannotation processor(s)
. Therefore it's possible to bind the concrete implementation at runtime instead of compile time. This offers some interesting capabilities as you can override the behavior of an annotation in submodules.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
- See Also:
AnnotationProcessor
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
processorRequired
Returns true if there has to be an annotation processor which handles the annotation.
-
-
-
Element Detail
-
processorRequired
boolean processorRequired
Returns true if there has to be an annotation processor which handles the annotation. If required is true an not annotation processor is found an exception is thrown.- Returns:
- true if there has to be an Annotation Processor which handles the annotation, otherwise false
- Since:
- 2.0.0
- Default:
- true
-
-