@Documented @Retention(value=RUNTIME) @Target(value={METHOD,CONSTRUCTOR}) @Repeatable(value=RequiresQualifiers.class) public @interface RequiresQualifier
expression
and are specified
using a string. The qualifier is specified by qualifier
.Modifier and Type | Required Element and Description |
---|---|
String[] |
expression
The Java expressions for which the annotation need to be present.
|
Class<? extends Annotation> |
qualifier
The qualifier that is required.
|
public abstract String[] expression
public abstract Class<? extends Annotation> qualifier