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).