public class JWhichOptions
extends <any>
JWhichOptions()
.
#parse(String[],MessageReceiver)
has_[X]()
. get_[X]_[n]()
. get_[X]_[n](k)
. If anything went wrong in parsing, errors
have been sent to the MessageReceiver
.
Then further analysis methods can be applied (#getParsingProtocol()
, #getMissingOptions()
, #usage()
, etc.)
For further details. please see the
documentation of the methods inherited from the superclass Model
and the option
compiler's user documentation.
Here is the source text.
There have been description texts only in one language, namely en.
The usage()
method will show this screen:
====== USAGE: ====== --classpath string(="") classpath --package string(="") package name -0 / --target ( string(="") )+ target class name --sourcefile string(="") source file name -v / --verbose boolean(=false) log activity to stderr -i / --anyinnerclasses boolean(=false) search unqualified inner classes anywhere
Modifier and Type | Class and Description |
---|---|
class |
JWhichOptions.Descriptions
Programmatically generated catalog of translations.
|
class |
JWhichOptions.Values_target
One instance realizes one repeated argument group of option
target . |
Modifier and Type | Field and Description |
---|---|
protected boolean |
has_anyinnerclasses |
protected boolean |
has_classpath |
protected boolean |
has_package |
protected boolean |
has_sourcefile |
protected boolean |
has_target |
protected boolean |
has_verbose |
protected List<JWhichOptions.Values_target> |
repvalues_target |
Function<JWhichOptions.Values_target,String> |
serialize_target |
protected boolean |
value_anyinnerclasses_0 |
protected String |
value_classpath_0 |
protected String |
value_package_0 |
protected String |
value_sourcefile_0 |
protected boolean |
value_verbose_0 |
Constructor and Description |
---|
JWhichOptions() |
Modifier and Type | Method and Description |
---|---|
protected void |
_finalCheck() |
String |
_getMissingOptions() |
String |
_getRedundantOptions() |
protected void |
checkActive() |
boolean |
get_anyinnerclasses_0()
Getter method for the only argument of option
anyinnerclasses . |
String |
get_classpath_0()
Getter method for the only argument of option
classpath . |
String |
get_package_0()
Getter method for the only argument of option
package . |
String |
get_sourcefile_0()
Getter method for the only argument of option
sourcefile . |
String |
get_target_0(int index)
Getter method for the only repeated argument of option
target . |
List<JWhichOptions.Values_target> |
get_target()
Getter method for all repetition groups of option
target . |
boolean |
get_verbose_0()
Getter method for the only argument of option
verbose . |
boolean |
has_anyinnerclasses()
Deprecated.
|
boolean |
has_classpath()
Deprecated.
|
boolean |
has_package()
Deprecated.
|
boolean |
has_sourcefile()
Deprecated.
|
boolean |
has_target()
Deprecated.
|
boolean |
has_verbose()
Deprecated.
|
JWhichOptions |
makeDefaultInstance() |
protected int |
numberOfPositionals() |
protected void |
parseAbbrev(String select) |
protected void |
parseName(String select) |
protected void |
parsePositionals() |
String |
serialize() |
void |
usage_en()
Print usage information in the language 'en' on System.err.
|
void |
usage_en(PrintStream pr)
Print usage information in the language 'en'.
|
void |
usage(PrintStream pr)
Print usage information in the default language.
|
void |
usage(PrintStream pr,
String lang)
Print usage information in the requested language.
|
protected boolean has_classpath
protected String value_classpath_0
protected boolean has_package
protected String value_package_0
protected boolean has_target
protected List<JWhichOptions.Values_target> repvalues_target
public final Function<JWhichOptions.Values_target,String> serialize_target
protected boolean has_sourcefile
protected String value_sourcefile_0
protected boolean has_verbose
protected boolean value_verbose_0
protected boolean has_anyinnerclasses
protected boolean value_anyinnerclasses_0
public JWhichOptions makeDefaultInstance()
protected void checkActive()
@Deprecated public boolean has_classpath()
get_classpath_0()
.public String get_classpath_0()
classpath
.
--classpath string(="")
@Deprecated public boolean has_package()
get_package_0()
.public String get_package_0()
package
.
--package string(="")
@Deprecated public boolean has_target()
get_target()
.public List<JWhichOptions.Values_target> get_target()
target
.
-0 / --target ( string(="") )+
public String get_target_0(int index)
target
.
For details of this option see the method get_target()
.index
- the index of the repetition group, zero based.@Deprecated public boolean has_sourcefile()
get_sourcefile_0()
.public String get_sourcefile_0()
sourcefile
.
--sourcefile string(="")
@Deprecated public boolean has_verbose()
get_verbose_0()
.public boolean get_verbose_0()
verbose
.
-v / --verbose boolean(=false)
@Deprecated public boolean has_anyinnerclasses()
get_anyinnerclasses_0()
.public boolean get_anyinnerclasses_0()
anyinnerclasses
.
-i / --anyinnerclasses boolean(=false)
public String serialize()
public void usage(PrintStream pr)
public void usage(PrintStream pr, String lang)
public void usage_en()
public void usage_en(PrintStream pr)
protected void parseAbbrev(String select)
protected void parseName(String select)
protected int numberOfPositionals()
protected void parsePositionals()
protected void _finalCheck()
public String _getMissingOptions()
public String _getRedundantOptions()
see also the complete user documentation .