class_body
{ "{"
block_comment "/** commandline instance */"
field_declaration
modifiers
private "private"
type_identifier "CommandLine"
variable_declarator
identifier "cmd"
; ";"
block_comment "/** current Options */"
field_declaration
modifiers
private "private"
type_identifier "Options"
variable_declarator
identifier "options"
; ";"
block_comment "/** list of required options strings */"
field_declaration
modifiers
private "private"
type_identifier "List"
variable_declarator
identifier "requiredOptions"
; ";"
block_comment "/**\n * <p>Subclasses must implement this method to reduc"...
method_declaration (+29 nodes collapsed)
block_comment "/**\n * <p>Parses the specified <code>arguments</code> \n "...
method_declaration (+40 nodes collapsed)
block_comment "/**\n * Parse the arguments according to the specified op"...
method_declaration (+44 nodes collapsed)
block_comment "/**\n * <p>Parses the specified <code>arguments</code> \n "...
method_declaration (+44 nodes collapsed)
block_comment "/**\n * Parse the arguments according to the specified op"...
method_declaration (+501 nodes collapsed)
block_comment "/**\n * <p>Sets the values of Options using the values in"...
method_declaration (+270 nodes collapsed)
block_comment "/**\n * <p>Throws a {@link MissingOptionException} if all"...
method_declaration
modifiers
private "private"
void_type "void"
identifier "checkRequiredOptions"
formal_parameters
( "("
) ")"
throws
throws "throws"
type_identifier "MissingOptionException"
block
{ "{"
line_comment "// if there are required options that have not been"
line_comment "// processsed"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
method_invocation
identifier "requiredOptions"
. "."
identifier "size"
argument_list
( "("
) ")"
> ">"
decimal_integer_literal "0"
) ")"
block
{ "{"
local_variable_declaration
type_identifier "Iterator"
variable_declarator
identifier "iter"
= "="
method_invocation
identifier "requiredOptions"
. "."
identifier "iterator"
argument_list
( "("
) ")"
; ";"
local_variable_declaration
type_identifier "StringBuffer"
variable_declarator
identifier "buff"
= "="
object_creation_expression
new "new"
type_identifier "StringBuffer"
argument_list
( "("
) ")"
; ";"
line_comment "// loop through the required options"
while_statement (+31 nodes collapsed)
throw_statement
throw "throw"
object_creation_expression
new "new"
type_identifier "MissingOptionException"
argument_list
( "("
method_invocation
identifier "buff"
. "."
identifier "toString"
argument_list
( "("
) ")"
) ")"
; ";"
} "}"
} "}"
block_comment "/**\n * <p>Process the argument values for the specified "...
method_declaration (+196 nodes collapsed)
block_comment "/**\n * <p>Process the Option specified by <code>arg</cod"...
method_declaration (+220 nodes collapsed)
} "}"