Override to use ClpArgument which also optionally holds the @arg annotation.
Override to use ClpArgument which also optionally holds the @arg annotation.
Override to use the ClpArgumentLookup.
Override to use the ClpArgumentLookup. Must be lazy since it is used in add()
which is called from super's constructor.
Builds an instance of ClpArgument with the provided values and the @Arg
annotation.
Builds an instance of ClpArgument with the provided values and the @Arg
annotation.
the class we wish to reflect upon
the class we wish to reflect upon
Implements the CLP constructor picking logic.
Implements the CLP constructor picking logic. Firstly if there is a single public constructor, use that.
Otherwise look for a constructor that has arguments with @Arg
annotations on them.
Otherwise look for a constructor annotated with @CLPConstructor
.
Extends ReflectiveBuilder to add support for the arguments annotated with the arg annotation and to use more specific logic to find the appropriate constructor to use to instantiate command line programs.
the type for the class