@Target(value=ANNOTATION_TYPE) public @interface DynamicActive
@Active
the annotation processor is not specified by the active annotation but by the
annotation 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.AnnotationProcessor
Modifier and Type | Optional Element and Description |
---|---|
boolean |
processorRequired
Returns true if there has to be an annotation processor which handles the annotation.
|
public abstract boolean processorRequired
Copyright © 2018–2021 b+m Informatik AG. All rights reserved.