Annotation Type Unpublicized


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface Unpublicized
    Indicates a field that can be set by a command-line option, but that command-line option is unpublicized: it is not included in the usage message. Should only be written on a field that also has a @Option annotation.

    If the showUnpublicized argument to the Options.usage(boolean, String[]) method is true, the usage message shows all options, even unpublicized ones.

    See Also:
    Option, Options, OptionGroup, OptionsDoclet