@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,CONSTRUCTOR})
@Repeatable(value=RequiresQualifier.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