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 /****************************************************"...
block_comment "/**\n * We will also cache some dynamically constructed d"...
field_declaration (+44 nodes collapsed)
block_comment "/**\n * During deserializer construction process we may n"...
field_declaration (+40 nodes collapsed)
block_comment "/*\n /****************************************************"...
constructor_declaration
modifiers
public "public"
identifier "DeserializerCache"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
} "}"
block_comment "/*\n /****************************************************"...
method_declaration (+24 nodes collapsed)
block_comment "/*\n /****************************************************"...
block_comment "/**\n * Method that can be used to determine how many des"...
method_declaration (+22 nodes collapsed)
block_comment "/**\n * Method that will drop all dynamically constructed"...
method_declaration
modifiers
public "public"
void_type "void"
identifier "flushCachedDeserializers"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
method_invocation
identifier "_cachedDeserializers"
. "."
identifier "clear"
argument_list
( "("
) ")"
; ";"
} "}"
block_comment "/*\n /****************************************************"...
block_comment "/**\n * Method called to get hold of a deserializer for a"...
method_declaration (+105 nodes collapsed)
block_comment "/**\n * Method called to get hold of a deserializer to us"...
method_declaration (+99 nodes collapsed)
block_comment "/**\n * Method called to find out whether provider would "...
method_declaration (+80 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+73 nodes collapsed)
block_comment "/**\n * Method that will try to create a deserializer for"...
method_declaration (+188 nodes collapsed)
block_comment "/**\n * Method that handles actual construction (via fact"...
method_declaration
modifiers
protected "protected"
generic_type
type_identifier "JsonDeserializer"
type_arguments
< "<"
type_identifier "Object"
> ">"
identifier "_createAndCache2"
formal_parameters
( "("
formal_parameter
type_identifier "DeserializationContext"
identifier "ctxt"
, ","
formal_parameter
type_identifier "DeserializerFactory"
identifier "factory"
, ","
formal_parameter
type_identifier "JavaType"
identifier "type"
) ")"
throws
throws "throws"
type_identifier "JsonMappingException"
block
{ "{"
local_variable_declaration
generic_type
type_identifier "JsonDeserializer"
type_arguments
< "<"
type_identifier "Object"
> ">"
variable_declarator
identifier "deser"
; ";"
try_statement
try "try"
block
{ "{"
expression_statement
assignment_expression
identifier "deser"
= "="
method_invocation
identifier "_createDeserializer"
argument_list
( "("
identifier "ctxt"
, ","
identifier "factory"
, ","
identifier "type"
) ")"
; ";"
} "}"
catch_clause
catch "catch"
( "("
catch_formal_parameter
catch_type
type_identifier "IllegalArgumentException"
identifier "iae"
) ")"
block
{ "{"
line_comment "// We better only expose checked exceptions, since those"
line_comment "// are what caller is expected to handle"
throw_statement
throw "throw"
method_invocation
identifier "JsonMappingException"
. "."
identifier "from"
argument_list
( "("
identifier "ctxt"
, ","
method_invocation
identifier "iae"
. "."
identifier "getMessage"
argument_list
( "("
) ")"
, ","
identifier "iae"
) ")"
; ";"
} "}"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
identifier "deser"
== "=="
null_literal "null"
) ")"
block
{ "{"
return_statement
return "return"
null_literal "null"
; ";"
} "}"
block_comment "/* cache resulting deserializer? always true for \"plain\" Bea"...
line_comment "// 27-Mar-2015, tatu: As per [databind#735], avoid caching t"...
local_variable_declaration (+23 nodes collapsed)
block_comment "/* we will temporarily hold on to all created deserializers "...
block_comment "/* 07-Jun-2010, tatu: Danger: [JACKSON-296] was caused by ac"...
block_comment "/* Need to resolve? Mostly done for bean deserializers; requ"...
if_statement (+51 nodes collapsed)
if_statement (+21 nodes collapsed)
return_statement
return "return"
identifier "deser"
; ";"
} "}"
block_comment "/*\n /****************************************************"...
block_comment "/**\n * Method that does the heavy lifting of checking fo"...
method_declaration (+419 nodes collapsed)
method_declaration (+475 nodes collapsed)
block_comment "/**\n * Helper method called to check if a class or metho"...
method_declaration (+97 nodes collapsed)
block_comment "/**\n * Helper method that will check whether given annot"...
method_declaration (+120 nodes collapsed)
method_declaration (+77 nodes collapsed)
block_comment "/**\n * Method called to see if given method has annotati"...
method_declaration (+431 nodes collapsed)
block_comment "/*\n /****************************************************"...
block_comment "/**\n * Helper method used to prevent both caching and ca"...
method_declaration (+150 nodes collapsed)
method_declaration (+163 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+102 nodes collapsed)
method_declaration (+40 nodes collapsed)
} "}"