@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) public @interface PreconditionAnnotation
RequiresQualifier
.
The annotation that is annotated as PreconditionAnnotation
must have
a value called value
that is an array of String
s of the same
format and with the same meaning as the value expression
in
RequiresQualifier
.
The value qualifier
that is necessary for a precondition specified
with RequiresQualifier
is hard-coded here with the value
qualifier
.
RequiresQualifier
Modifier and Type | Required Element and Description |
---|---|
Class<? extends Annotation> |
qualifier
The hard-coded qualifier for the precondition.
|
public abstract Class<? extends Annotation> qualifier