Annotation Interface RequiresQualifier
@Documented
@Retention(RUNTIME)
@Target({METHOD,CONSTRUCTOR})
@Repeatable(List.class)
public @interface RequiresQualifier
A precondition annotation to indicate that a method requires certain expressions to have a
 certain qualifier at the time of the call to the method. The expressions for which the annotation
 must hold after the method's execution are indicated by 
expression and are specified
 using a string. The qualifier is specified by qualifier.- See the Checker Framework Manual:
- Syntax of Java expressions
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic @interfaceA wrapper annotation that makes theRequiresQualifierannotation repeatable.
- 
Required Element SummaryRequired ElementsModifier and TypeRequired ElementDescriptionString[]Returns the Java expressions for which the annotation need to be present.Class<? extends Annotation>Returns the qualifier that is required.
- 
Element Details- 
expressionString[] expressionReturns the Java expressions for which the annotation need to be present.- Returns:
- the Java expressions for which the annotation need to be present
- See the Checker Framework Manual:
- Syntax of Java expressions
 
- 
qualifierClass<? extends Annotation> qualifierReturns the qualifier that is required.- Returns:
- the qualifier that is required
 
 
-