Annotation Interface Greedy


@Retention(RUNTIME) @Target({TYPE,PARAMETER}) public @interface Greedy
Marks a parameter or type as greedy, consuming the remainder of the input instead of a single token (e.g., capturing full sentences).
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
  • Element Details

    • limit

      int limit
      Default:
      -1