Annotation Type CalledMethodsPredicate
-
@Retention(RUNTIME) @Target({TYPE_USE,TYPE_PARAMETER}) @SubtypeOf(CalledMethods.class) public @interface CalledMethodsPredicate
This annotation represents a predicate on@
CalledMethods
annotations. If methodc()
's receiver type is annotated with@CalledMethodsPredicate("a || b")
, then it is acceptable to call either methoda()
or methodb()
before calling methodc()
.- See the Checker Framework Manual:
- Called Methods Checker
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
value
A boolean expression constructed from the following grammar:
-