@Documented @Retention(value=RUNTIME) @Target(value={METHOD,CONSTRUCTOR}) @Repeatable(value=RequiresQualifier.List.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
Returns the Java expressions for which the annotation need to be present.
|
Class<? extends Annotation> |
qualifier
Returns the qualifier that is required.
|
public abstract String[] expression
public abstract Class<? extends Annotation> qualifier