class_body
{ "{"
block_comment "/** The serial version UID. */"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
decimal_integer_literal "1L"
; ";"
block_comment "/** a map of the options with the character key */"
field_declaration (+29 nodes collapsed)
block_comment "/** a map of the options with the long key */"
field_declaration (+29 nodes collapsed)
block_comment "/** a map of the required options */"
line_comment "// N.B. This can contain either a String (addOption) or an O"...
line_comment "// TODO this seems wrong"
field_declaration (+25 nodes collapsed)
block_comment "/** a map of the option groups */"
field_declaration (+29 nodes collapsed)
block_comment "/**\n * Add the specified option group.\n *\n * @pa"...
method_declaration (+99 nodes collapsed)
block_comment "/**\n * Lists the OptionGroups that are members of this O"...
method_declaration (+35 nodes collapsed)
block_comment "/**\n * Add an option that only contains a short name.\n "...
method_declaration (+36 nodes collapsed)
block_comment "/**\n * Add an option that only contains a short-name.\n "...
method_declaration (+40 nodes collapsed)
block_comment "/**\n * Add an option that contains a short-name and a lo"...
method_declaration (+50 nodes collapsed)
block_comment "/**\n * Adds an option instance\n *\n * @param opt "...
method_declaration (+136 nodes collapsed)
block_comment "/**\n * Retrieve a read-only list of options in this set\n"...
method_declaration (+31 nodes collapsed)
block_comment "/**\n * Returns the Options for use by the HelpFormatter."...
method_declaration (+35 nodes collapsed)
block_comment "/**\n * Returns the required options.\n *\n * @retu"...
method_declaration (+22 nodes collapsed)
block_comment "/**\n * Retrieve the {@link Option} matching the long or "...
method_declaration (+65 nodes collapsed)
block_comment "/**\n * Returns the options with a long name starting wit"...
method_declaration
modifiers
public "public"
generic_type
type_identifier "List"
type_arguments
< "<"
type_identifier "String"
> ">"
identifier "getMatchingOptions"
formal_parameters
( "("
formal_parameter
type_identifier "String"
identifier "opt"
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "opt"
= "="
method_invocation
identifier "Util"
. "."
identifier "stripLeadingHyphens"
argument_list
( "("
identifier "opt"
) ")"
; ";"
local_variable_declaration (+22 nodes collapsed)
line_comment "// for a perfect match return the single option only"
enhanced_for_statement (+43 nodes collapsed)
return_statement
return "return"
identifier "matchingOpts"
; ";"
} "}"
block_comment "/**\n * Returns whether the named {@link Option} is a mem"...
method_declaration (+48 nodes collapsed)
block_comment "/**\n * Returns whether the named {@link Option} is a mem"...
method_declaration (+38 nodes collapsed)
block_comment "/**\n * Returns whether the named {@link Option} is a mem"...
method_declaration (+38 nodes collapsed)
block_comment "/**\n * Returns the OptionGroup the <code>opt</code> belo"...
method_declaration (+31 nodes collapsed)
block_comment "/**\n * Dump state, suitable for debugging.\n *\n *"...
method_declaration (+101 nodes collapsed)
} "}"