Annotation Type JawkOptional


@Retention(RUNTIME) @Target(PARAMETER) public @interface JawkOptional
Marks a trailing extension function parameter as optional: the AWK caller may omit it, in which case the Java method receives null.

Optional parameters must be the last declared parameters of the method (once a parameter is optional, all following parameters must be optional too), and cannot be combined with varargs. Other parameter annotations such as JawkAssocArray apply normally, so an optional associative-array parameter is declared as @JawkOptional @JawkAssocArray Map<Object, Object> dest.