Annotation Interface StringVal


An annotation indicating the possible values for a String type. If an expression's type has this annotation, then at run time, the expression evaluates to one of the annotation's arguments.
See the Checker Framework Manual:
Constant Value Checker
  • Required Element Summary Link icon

    Required Elements
    Modifier and Type
    Required Element
    Description
    The values that the expression might evaluate to.
  • Element Details

    • value Link icon

      String[] value
      The values that the expression might evaluate to.