class_body
{ "{"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
decimal_integer_literal "1L"
; ";"
block_comment "/**\n * Type of values that are instantiated; used\n *"...
field_declaration
modifiers
protected "protected"
final "final"
type_identifier "String"
variable_declarator
identifier "_valueTypeDesc"
; ";"
block_comment "/**\n * @since 2.8\n */"
field_declaration
modifiers
protected "protected"
final "final"
generic_type
type_identifier "Class"
type_arguments
< "<"
wildcard
? "?"
> ">"
variable_declarator
identifier "_valueClass"
; ";"
line_comment "// // // Default (no-args) construction"
block_comment "/**\n * Default (no-argument) constructor to use for inst"...
field_declaration
modifiers
protected "protected"
type_identifier "AnnotatedWithParams"
variable_declarator
identifier "_defaultCreator"
; ";"
line_comment "// // // With-args (property-based) construction"
field_declaration
modifiers
protected "protected"
type_identifier "AnnotatedWithParams"
variable_declarator
identifier "_withArgsCreator"
; ";"
field_declaration
modifiers
protected "protected"
array_type
type_identifier "SettableBeanProperty"
dimensions
[ "["
] "]"
variable_declarator
identifier "_constructorArguments"
; ";"
line_comment "// // // Delegate construction"
field_declaration
modifiers
protected "protected"
type_identifier "JavaType"
variable_declarator
identifier "_delegateType"
; ";"
field_declaration
modifiers
protected "protected"
type_identifier "AnnotatedWithParams"
variable_declarator
identifier "_delegateCreator"
; ";"
field_declaration
modifiers
protected "protected"
array_type
type_identifier "SettableBeanProperty"
dimensions
[ "["
] "]"
variable_declarator
identifier "_delegateArguments"
; ";"
line_comment "// // // Array delegate construction"
field_declaration
modifiers
protected "protected"
type_identifier "JavaType"
variable_declarator
identifier "_arrayDelegateType"
; ";"
field_declaration
modifiers
protected "protected"
type_identifier "AnnotatedWithParams"
variable_declarator
identifier "_arrayDelegateCreator"
; ";"
field_declaration
modifiers
protected "protected"
array_type
type_identifier "SettableBeanProperty"
dimensions
[ "["
] "]"
variable_declarator
identifier "_arrayDelegateArguments"
; ";"
line_comment "// // // Scalar construction"
field_declaration
modifiers
protected "protected"
type_identifier "AnnotatedWithParams"
variable_declarator
identifier "_fromStringCreator"
; ";"
field_declaration
modifiers
protected "protected"
type_identifier "AnnotatedWithParams"
variable_declarator
identifier "_fromIntCreator"
; ";"
field_declaration
modifiers
protected "protected"
type_identifier "AnnotatedWithParams"
variable_declarator
identifier "_fromLongCreator"
; ";"
field_declaration
modifiers
protected "protected"
type_identifier "AnnotatedWithParams"
variable_declarator
identifier "_fromDoubleCreator"
; ";"
field_declaration
modifiers
protected "protected"
type_identifier "AnnotatedWithParams"
variable_declarator
identifier "_fromBooleanCreator"
; ";"
line_comment "// // // Incomplete creator"
field_declaration
modifiers
protected "protected"
type_identifier "AnnotatedParameter"
variable_declarator
identifier "_incompleteParameter"
; ";"
block_comment "/*\n /****************************************************"...
block_comment "/**\n * @deprecated Since 2.7 use constructor that takes "...
constructor_declaration (+59 nodes collapsed)
constructor_declaration (+69 nodes collapsed)
block_comment "/**\n * Copy-constructor that sub-classes can use when cr"...
constructor_declaration (+157 nodes collapsed)
block_comment "/**\n * Method for setting properties related to instanti"...
method_declaration (+78 nodes collapsed)
method_declaration (+44 nodes collapsed)
method_declaration
modifiers
public "public"
void_type "void"
identifier "configureFromStringCreator"
formal_parameters
( "("
formal_parameter
type_identifier "AnnotatedWithParams"
identifier "creator"
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "_fromStringCreator"
= "="
identifier "creator"
; ";"
} "}"
method_declaration
modifiers
public "public"
void_type "void"
identifier "configureFromIntCreator"
formal_parameters
( "("
formal_parameter
type_identifier "AnnotatedWithParams"
identifier "creator"
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "_fromIntCreator"
= "="
identifier "creator"
; ";"
} "}"
method_declaration
modifiers
public "public"
void_type "void"
identifier "configureFromLongCreator"
formal_parameters
( "("
formal_parameter
type_identifier "AnnotatedWithParams"
identifier "creator"
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "_fromLongCreator"
= "="
identifier "creator"
; ";"
} "}"
method_declaration
modifiers
public "public"
void_type "void"
identifier "configureFromDoubleCreator"
formal_parameters
( "("
formal_parameter
type_identifier "AnnotatedWithParams"
identifier "creator"
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "_fromDoubleCreator"
= "="
identifier "creator"
; ";"
} "}"
method_declaration
modifiers
public "public"
void_type "void"
identifier "configureFromBooleanCreator"
formal_parameters
( "("
formal_parameter
type_identifier "AnnotatedWithParams"
identifier "creator"
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "_fromBooleanCreator"
= "="
identifier "creator"
; ";"
} "}"
method_declaration
modifiers
public "public"
void_type "void"
identifier "configureIncompleteParameter"
formal_parameters
( "("
formal_parameter
type_identifier "AnnotatedParameter"
identifier "parameter"
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "_incompleteParameter"
= "="
identifier "parameter"
; ";"
} "}"
block_comment "/*\n /****************************************************"...
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
type_identifier "String"
identifier "getValueTypeDesc"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "_valueTypeDesc"
; ";"
} "}"
method_declaration (+24 nodes collapsed)
method_declaration (+24 nodes collapsed)
method_declaration (+24 nodes collapsed)
method_declaration (+24 nodes collapsed)
method_declaration (+24 nodes collapsed)
method_declaration (+24 nodes collapsed)
method_declaration (+24 nodes collapsed)
method_declaration (+24 nodes collapsed)
method_declaration (+24 nodes collapsed)
method_declaration (+24 nodes collapsed)
method_declaration (+78 nodes collapsed)
method_declaration (+21 nodes collapsed)
method_declaration (+21 nodes collapsed)
method_declaration (+25 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+93 nodes collapsed)
method_declaration (+104 nodes collapsed)
method_declaration (+79 nodes collapsed)
method_declaration (+76 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+102 nodes collapsed)
method_declaration (+202 nodes collapsed)
method_declaration (+119 nodes collapsed)
method_declaration (+119 nodes collapsed)
method_declaration (+120 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
type_identifier "AnnotatedWithParams"
identifier "getDelegateCreator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "_delegateCreator"
; ";"
} "}"
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
type_identifier "AnnotatedWithParams"
identifier "getArrayDelegateCreator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "_arrayDelegateCreator"
; ";"
} "}"
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
type_identifier "AnnotatedWithParams"
identifier "getDefaultCreator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "_defaultCreator"
; ";"
} "}"
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
type_identifier "AnnotatedWithParams"
identifier "getWithArgsCreator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "_withArgsCreator"
; ";"
} "}"
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
type_identifier "AnnotatedParameter"
identifier "getIncompleteParameter"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "_incompleteParameter"
; ";"
} "}"
block_comment "/*\n /****************************************************"...
block_comment "/**\n * @deprecated Since 2.7 call either {@link #unwrapA"...
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Deprecated"
line_comment "// since 2.7"
protected "protected"
type_identifier "JsonMappingException"
identifier "wrapException"
formal_parameters
( "("
formal_parameter
type_identifier "Throwable"
identifier "t"
) ")"
block
{ "{"
line_comment "// 05-Nov-2015, tatu: This used to always unwrap the whole e"...
line_comment "// does so if and until `JsonMappingException` is found."
for_statement (+49 nodes collapsed)
return_statement
return "return"
object_creation_expression
new "new"
type_identifier "JsonMappingException"
argument_list
( "("
null_literal "null"
, ","
binary_expression
binary_expression
binary_expression
string_literal
" "\""
string_fragment "Instantiation of "
" "\""
+ "+"
method_invocation
identifier "getValueTypeDesc"
argument_list
( "("
) ")"
+ "+"
string_literal
" "\""
string_fragment " value failed: "
" "\""
+ "+"
method_invocation
identifier "t"
. "."
identifier "getMessage"
argument_list
( "("
) ")"
, ","
identifier "t"
) ")"
; ";"
} "}"
block_comment "/**\n * @since 2.7\n */"
method_declaration (+86 nodes collapsed)
block_comment "/**\n * @since 2.7\n */"
method_declaration (+56 nodes collapsed)
block_comment "/**\n * @since 2.7\n */"
method_declaration (+88 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+249 nodes collapsed)
} "}"