class_body
{ "{"
field_declaration
modifiers
protected "protected"
final "final"
type_identifier "Object"
variable_declarator
identifier "_value"
; ";"
constructor_declaration
modifiers
public "public"
identifier "POJONode"
formal_parameters
( "("
formal_parameter
type_identifier "Object"
identifier "v"
) ")"
constructor_body
{ "{"
expression_statement
assignment_expression
identifier "_value"
= "="
identifier "v"
; ";"
} "}"
block_comment "/*\n /****************************************************"...
method_declaration (+21 nodes collapsed)
method_declaration (+21 nodes collapsed)
block_comment "/**\n * As it is possible that some implementations embed"...
method_declaration (+62 nodes collapsed)
block_comment "/* \n /***************************************************"...
method_declaration (+38 nodes collapsed)
method_declaration (+38 nodes collapsed)
method_declaration (+56 nodes collapsed)
method_declaration (+52 nodes collapsed)
method_declaration (+52 nodes collapsed)
method_declaration (+52 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
final "final"
void_type "void"
identifier "serialize"
formal_parameters
( "("
formal_parameter
type_identifier "JsonGenerator"
identifier "gen"
, ","
formal_parameter
type_identifier "SerializerProvider"
identifier "ctxt"
) ")"
throws
throws "throws"
type_identifier "IOException"
block
{ "{"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
identifier "_value"
== "=="
null_literal "null"
) ")"
block
{ "{"
expression_statement
method_invocation
identifier "ctxt"
. "."
identifier "defaultSerializeNull"
argument_list
( "("
identifier "gen"
) ")"
; ";"
} "}"
else "else"
if_statement
if "if"
parenthesized_expression
( "("
instanceof_expression
identifier "_value"
instanceof "instanceof"
type_identifier "JsonSerializable"
) ")"
block (+22 nodes collapsed)
else "else"
block
{ "{"
line_comment "// 25-May-2018, tatu: [databind#1991] do not call via genera"...
line_comment "// this to preserve contextual information"
expression_statement
method_invocation
identifier "gen"
. "."
identifier "writeObject"
argument_list
( "("
identifier "_value"
) ")"
; ";"
} "}"
} "}"
block_comment "/*\n /****************************************************"...
block_comment "/**\n * Method that can be used to access the POJO this n"...
method_declaration
modifiers
public "public"
type_identifier "Object"
identifier "getPojo"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "_value"
; ";"
} "}"
block_comment "/*\n /****************************************************"...
method_declaration (+72 nodes collapsed)
block_comment "/**\n * @since 2.3\n */"
method_declaration (+50 nodes collapsed)
method_declaration (+25 nodes collapsed)
method_declaration (+115 nodes collapsed)
} "}"