Annotation Type CommandLineValueDescriptor


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface CommandLineValueDescriptor
    This annotation is used to mark a method as description text supplier for command line options. The annotated method must be static and accept a single String parameter, which is the longOpt name of a command line option. There may be at most one such method per class.
    If a field is annotated with CommandLineValue but has no description, then this method is called to generate the description text.
    Usage: @CommandLineValueDescriptor