public class Options
extends <any>
GuiOptions
. Options()
.
#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: ====== -------------------------------- Model substantial information -------------------------------- -0 / --sourceroot uri(="") file system directory which is the root of the source code hierarchie -1 / --packagename string(="") name of the package of the generated model class -2 / --sourcefiles ( uri(="") )+ source files containing the model declaration -m / --monolithic boolean(=true) generate a single class instead of a package -p / --targetclasspath ( uri(="") )* classpath to search for existing class files, if different from current classpath. NOT YET ACTIVE!! ------------------------------- Code generation modification ------------------------------- --floatNotDouble boolean(=false) implement the umod type "float" not by doubles but by floats. -G / --getterfunctions boolean(=false) whether to generate getter function objects DEPRECATED -S / --setterfunctions boolean(=false) whether to generate setter function objects DEPRECATED -x / --xmlgen boolean(=true) whether to generate SAX de-/serialization -s / --swingtree boolean(=false) whether to generate a swing tree visualization --patterns (bool)?(=true iff present) Generate methods for lifting and applying "Paisley" patterns to model elements and their fields --constructorsPre20181214 (bool)?(=true iff present) Use old constructor code generation scheme, prior to 20181214 redefinition. -V / --visitordebug boolean(=false) whether to add logging code to the generated visitors -v / --visitoroptimize boolean(=false) whether to cut superfluous descends --rewriterwarnings (bool)?(=true iff present) whether all warnings from rewriter code shall be printed, even when the code generation algorithm takes the responsibility. -w / --linewidth int(=80) line width for the formatting of the generated source code
Modifier and Type | Class and Description |
---|---|
class |
Options.Descriptions
Programmatically generated catalog of translations.
|
class |
Options.Values_sourcefiles
One instance realizes one repeated argument group of option
sourcefiles . |
class |
Options.Values_targetclasspath
One instance realizes one repeated argument group of option
targetclasspath . |
Constructor and Description |
---|
Options() |
Modifier and Type | Method and Description |
---|---|
protected void |
_finalCheck() |
String |
_getMissingOptions() |
String |
_getRedundantOptions() |
protected void |
checkActive() |
boolean |
get_constructorsPre20181214_0()
Getter method for the 0th argument of option
constructorsPre20181214 . |
boolean |
get_floatNotDouble_0()
Getter method for the only argument of option
floatNotDouble . |
boolean |
get_getterfunctions_0()
Getter method for the only argument of option
getterfunctions . |
int |
get_linewidth_0()
Getter method for the only argument of option
linewidth . |
boolean |
get_monolithic_0()
Getter method for the only argument of option
monolithic . |
String |
get_packagename_0()
Getter method for the only argument of option
packagename . |
boolean |
get_patterns_0()
Getter method for the only argument of option
patterns . |
boolean |
get_rewriterwarnings_0()
Getter method for the only argument of option
rewriterwarnings . |
boolean |
get_setterfunctions_0()
Getter method for the only argument of option
setterfunctions . |
String |
get_sourcefiles_0(int index)
Getter method for the only repeated argument of option
sourcefiles . |
List<Options.Values_sourcefiles> |
get_sourcefiles()
Getter method for all repetition groups of option
sourcefiles . |
String |
get_sourceroot_0()
Getter method for the only argument of option
sourceroot . |
boolean |
get_swingtree_0()
Getter method for the only argument of option
swingtree . |
String |
get_targetclasspath_0(int index)
Getter method for the only repeated argument of option
targetclasspath . |
List<Options.Values_targetclasspath> |
get_targetclasspath()
Getter method for all repetition groups of option
targetclasspath . |
boolean |
get_visitordebug_0()
Getter method for the only argument of option
visitordebug . |
boolean |
get_visitoroptimize_0()
Getter method for the only argument of option
visitoroptimize . |
boolean |
get_xmlgen_0()
Getter method for the only argument of option
xmlgen . |
boolean |
has_constructorsPre20181214()
Deprecated.
|
boolean |
has_floatNotDouble()
Deprecated.
|
boolean |
has_getterfunctions()
Deprecated.
|
boolean |
has_linewidth()
Deprecated.
|
boolean |
has_monolithic()
Deprecated.
|
boolean |
has_packagename()
Deprecated.
|
boolean |
has_patterns()
Deprecated.
|
boolean |
has_rewriterwarnings()
Deprecated.
|
boolean |
has_setterfunctions()
Deprecated.
|
boolean |
has_sourcefiles()
Deprecated.
|
boolean |
has_sourceroot()
Deprecated.
|
boolean |
has_swingtree()
Deprecated.
|
boolean |
has_targetclasspath()
Deprecated.
|
boolean |
has_visitordebug()
Deprecated.
|
boolean |
has_visitoroptimize()
Deprecated.
|
boolean |
has_xmlgen()
Deprecated.
|
Options |
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_sourceroot
protected String value_sourceroot_0
protected boolean has_packagename
protected String value_packagename_0
protected boolean has_sourcefiles
protected List<Options.Values_sourcefiles> repvalues_sourcefiles
public final Function<Options.Values_sourcefiles,String> serialize_sourcefiles
protected boolean has_monolithic
protected boolean value_monolithic_0
protected boolean has_targetclasspath
protected List<Options.Values_targetclasspath> repvalues_targetclasspath
public final Function<Options.Values_targetclasspath,String> serialize_targetclasspath
protected boolean has_floatNotDouble
protected boolean value_floatNotDouble_0
protected boolean has_getterfunctions
protected boolean value_getterfunctions_0
protected boolean has_setterfunctions
protected boolean value_setterfunctions_0
protected boolean has_xmlgen
protected boolean value_xmlgen_0
protected boolean has_swingtree
protected boolean value_swingtree_0
protected boolean has_patterns
protected boolean value_patterns_0
protected boolean has_constructorsPre20181214
protected boolean value_constructorsPre20181214_0
protected boolean has_visitordebug
protected boolean value_visitordebug_0
protected boolean has_visitoroptimize
protected boolean value_visitoroptimize_0
protected boolean has_rewriterwarnings
protected boolean value_rewriterwarnings_0
protected boolean has_linewidth
protected int value_linewidth_0
public Options makeDefaultInstance()
protected void checkActive()
@Deprecated public boolean has_sourceroot()
get_sourceroot_0()
.public String get_sourceroot_0()
sourceroot
.
-0 / --sourceroot uri(="")
@Deprecated public boolean has_packagename()
get_packagename_0()
.public String get_packagename_0()
packagename
.
-1 / --packagename string(="")
@Deprecated public boolean has_sourcefiles()
get_sourcefiles()
.public List<Options.Values_sourcefiles> get_sourcefiles()
sourcefiles
.
-2 / --sourcefiles ( uri(="") )+
public String get_sourcefiles_0(int index)
sourcefiles
.
For details of this option see the method get_sourcefiles()
.index
- the index of the repetition group, zero based.@Deprecated public boolean has_monolithic()
get_monolithic_0()
.public boolean get_monolithic_0()
monolithic
.
-m / --monolithic boolean(=true)
@Deprecated public boolean has_targetclasspath()
get_targetclasspath()
.public List<Options.Values_targetclasspath> get_targetclasspath()
targetclasspath
.
-p / --targetclasspath ( uri(="") )*
public String get_targetclasspath_0(int index)
targetclasspath
.
For details of this option see the method get_targetclasspath()
.index
- the index of the repetition group, zero based.@Deprecated public boolean has_floatNotDouble()
get_floatNotDouble_0()
.public boolean get_floatNotDouble_0()
floatNotDouble
.
--floatNotDouble boolean(=false)
@Deprecated public boolean has_getterfunctions()
get_getterfunctions_0()
.public boolean get_getterfunctions_0()
getterfunctions
.
-G / --getterfunctions boolean(=false)
@Deprecated public boolean has_setterfunctions()
get_setterfunctions_0()
.public boolean get_setterfunctions_0()
setterfunctions
.
-S / --setterfunctions boolean(=false)
@Deprecated public boolean has_xmlgen()
get_xmlgen_0()
.public boolean get_xmlgen_0()
xmlgen
.
-x / --xmlgen boolean(=true)
@Deprecated public boolean has_swingtree()
get_swingtree_0()
.public boolean get_swingtree_0()
swingtree
.
-s / --swingtree boolean(=false)
@Deprecated public boolean has_patterns()
get_patterns_0()
.public boolean get_patterns_0()
patterns
.
--patterns (bool)?(=true iff present)
@Deprecated public boolean has_constructorsPre20181214()
get_constructorsPre20181214_0()
.public boolean get_constructorsPre20181214_0()
constructorsPre20181214
.
--constructorsPre20181214 (bool)?(=true iff present)
@Deprecated public boolean has_visitordebug()
get_visitordebug_0()
.public boolean get_visitordebug_0()
visitordebug
.
-V / --visitordebug boolean(=false)
@Deprecated public boolean has_visitoroptimize()
get_visitoroptimize_0()
.public boolean get_visitoroptimize_0()
visitoroptimize
.
-v / --visitoroptimize boolean(=false)
@Deprecated public boolean has_rewriterwarnings()
get_rewriterwarnings_0()
.public boolean get_rewriterwarnings_0()
rewriterwarnings
.
--rewriterwarnings (bool)?(=true iff present)
@Deprecated public boolean has_linewidth()
get_linewidth_0()
.public int get_linewidth_0()
linewidth
.
-w / --linewidth int(=80)
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 .