Annotation Type CalledMethodsPredicate
-
@Retention(RUNTIME) @Target({TYPE_USE,TYPE_PARAMETER}) @SubtypeOf(CalledMethods.class) public @interface CalledMethodsPredicate
This annotation represents a predicate on@CalledMethodsannotations. If methodc()'s receiver type is annotated with@CalledMethodsPredicate("a || b"), then it is acceptable to call either methoda()or methodb()before calling methodc().
-
-
Element Detail
-
value
String value
A boolean expression constructed from the following grammar:S → method name | S && S | S || S | !S | (S)
The expression uses standard Java operator precedence: "!" then "&&" then "||".
- Returns:
- the boolean expression
-
-