Annotation Interface OptionalParam


@Deprecated(since="6.0.7", forRemoval=true) @Target(PARAMETER) @Retention(RUNTIME) public @interface OptionalParam
Deprecated, for removal: This API element is subject to removal in a future version.
Never implemented — no code reads this annotation, so applying it has no effect on command parsing. There is no replacement: declare a separate @CmdMapping format for each accepted argument shape.

从未实现——没有任何代码读取该注解,标注它对指令解析不产生任何影响。 没有替代品:请为每种可接受的参数形态各声明一个 @CmdMapping 格式。

Not in use! Optional parameter annotation.

请勿使用! 可选参数注解。