@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 |
---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
qualifier
The hard-coded qualifier for the precondition.
|