class_body
{ "{"
block_comment "/**\n * Returns the <code>Object</code> of type <code>obj"...
method_declaration (+47 nodes collapsed)
block_comment "/**\n * Returns the <code>Object</code> of type <code>cla"...
method_declaration
modifiers
annotation
@ "@"
identifier "SuppressWarnings"
annotation_argument_list
( "("
string_literal
" "\""
string_fragment "unchecked"
" "\""
) ")"
line_comment "// returned value will have type T because it is fixed by cl"...
public "public"
static "static"
type_parameters
< "<"
type_parameter
type_identifier "T"
> ">"
type_identifier "T"
identifier "createValue"
formal_parameters
( "("
formal_parameter
modifiers
final "final"
type_identifier "String"
identifier "str"
, ","
formal_parameter
modifiers
final "final"
generic_type
type_identifier "Class"
type_arguments
< "<"
type_identifier "T"
> ">"
identifier "clazz"
) ")"
throws
throws "throws"
type_identifier "ParseException"
block
{ "{"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
identifier "PatternOptionBuilder"
. "."
identifier "STRING_VALUE"
== "=="
identifier "clazz"
) ")"
block
{ "{"
return_statement
return "return"
cast_expression
( "("
type_identifier "T"
) ")"
identifier "str"
; ";"
} "}"
else "else"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
identifier "PatternOptionBuilder"
. "."
identifier "OBJECT_VALUE"
== "=="
identifier "clazz"
) ")"
block
{ "{"
return_statement
return "return"
cast_expression
( "("
type_identifier "T"
) ")"
method_invocation
identifier "createObject"
argument_list
( "("
identifier "str"
) ")"
; ";"
} "}"
else "else"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
identifier "PatternOptionBuilder"
. "."
identifier "NUMBER_VALUE"
== "=="
identifier "clazz"
) ")"
block
{ "{"
return_statement
return "return"
cast_expression
( "("
type_identifier "T"
) ")"
method_invocation
identifier "createNumber"
argument_list
( "("
identifier "str"
) ")"
; ";"
} "}"
else "else"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
identifier "PatternOptionBuilder"
. "."
identifier "DATE_VALUE"
== "=="
identifier "clazz"
) ")"
block
{ "{"
return_statement
return "return"
cast_expression
( "("
type_identifier "T"
) ")"
method_invocation
identifier "createDate"
argument_list
( "("
identifier "str"
) ")"
; ";"
} "}"
else "else"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
identifier "PatternOptionBuilder"
. "."
identifier "CLASS_VALUE"
== "=="
identifier "clazz"
) ")"
block
{ "{"
return_statement
return "return"
cast_expression
( "("
type_identifier "T"
) ")"
method_invocation
identifier "createClass"
argument_list
( "("
identifier "str"
) ")"
; ";"
} "}"
else "else"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
identifier "PatternOptionBuilder"
. "."
identifier "FILE_VALUE"
== "=="
identifier "clazz"
) ")"
block
{ "{"
return_statement
return "return"
cast_expression
( "("
type_identifier "T"
) ")"
method_invocation
identifier "createFile"
argument_list
( "("
identifier "str"
) ")"
; ";"
} "}"
else "else"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
identifier "PatternOptionBuilder"
. "."
identifier "EXISTING_FILE_VALUE"
== "=="
identifier "clazz"
) ")"
block
{ "{"
return_statement
return "return"
cast_expression
( "("
type_identifier "T"
) ")"
method_invocation
identifier "openFile"
argument_list
( "("
identifier "str"
) ")"
; ";"
} "}"
else "else"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
identifier "PatternOptionBuilder"
. "."
identifier "FILES_VALUE"
== "=="
identifier "clazz"
) ")"
block
{ "{"
return_statement
return "return"
cast_expression
( "("
type_identifier "T"
) ")"
method_invocation
identifier "createFiles"
argument_list
( "("
identifier "str"
) ")"
; ";"
} "}"
else "else"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
identifier "PatternOptionBuilder"
. "."
identifier "URL_VALUE"
== "=="
identifier "clazz"
) ")"
block
{ "{"
return_statement
return "return"
cast_expression
( "("
type_identifier "T"
) ")"
method_invocation
identifier "createURL"
argument_list
( "("
identifier "str"
) ")"
; ";"
} "}"
else "else"
block
{ "{"
return_statement
return "return"
null_literal "null"
; ";"
} "}"
} "}"
block_comment "/**\n * Create an Object from the classname and empty co"...
method_declaration (+137 nodes collapsed)
block_comment "/**\n * Create a number from a String. If a . is present,"...
method_declaration (+97 nodes collapsed)
block_comment "/**\n * Returns the class whose name is <code>classname</"...
method_declaration (+71 nodes collapsed)
block_comment "/**\n * Returns the date represented by <code>str</code>."...
method_declaration (+30 nodes collapsed)
block_comment "/**\n * Returns the URL represented by <code>str</code>.\n"...
method_declaration (+64 nodes collapsed)
block_comment "/**\n * Returns the File represented by <code>str</code>."...
method_declaration (+27 nodes collapsed)
block_comment "/**\n * Returns the opened FileInputStream represented by"...
method_declaration (+60 nodes collapsed)
block_comment "/**\n * Returns the File[] represented by <code>str</code"...
method_declaration (+36 nodes collapsed)
} "}"