class_body
{ "{"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
decimal_integer_literal "1L"
; ";"
field_declaration
modifiers
protected "protected"
final "final"
type_identifier "JavaType"
variable_declarator
identifier "_referencedType"
; ";"
block_comment "/**\n * Essential type used for type ids, for example if "...
field_declaration
modifiers
protected "protected"
final "final"
type_identifier "JavaType"
variable_declarator
identifier "_anchorType"
; ";"
constructor_declaration (+105 nodes collapsed)
block_comment "/**\n * Constructor used when upgrading into this type (v"...
constructor_declaration (+37 nodes collapsed)
block_comment "/**\n * Factory method that can be used to \"upgrade\" a ba"...
method_declaration (+96 nodes collapsed)
block_comment "/**\n * @since 2.7\n */"
method_declaration (+67 nodes collapsed)
method_declaration (+62 nodes collapsed)
method_declaration (+59 nodes collapsed)
method_declaration (+59 nodes collapsed)
method_declaration (+76 nodes collapsed)
method_declaration (+59 nodes collapsed)
method_declaration (+83 nodes collapsed)
method_declaration (+59 nodes collapsed)
method_declaration (+65 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
protected "protected"
type_identifier "String"
identifier "buildCanonicalName"
formal_parameters
( "("
) ")"
block
{ "{"
local_variable_declaration
type_identifier "StringBuilder"
variable_declarator
identifier "sb"
= "="
object_creation_expression
new "new"
type_identifier "StringBuilder"
argument_list
( "("
) ")"
; ";"
expression_statement
method_invocation
identifier "sb"
. "."
identifier "append"
argument_list
( "("
method_invocation
identifier "_class"
. "."
identifier "getName"
argument_list
( "("
) ")"
) ")"
; ";"
expression_statement
method_invocation
identifier "sb"
. "."
identifier "append"
argument_list
( "("
character_literal "'<'"
) ")"
; ";"
expression_statement
method_invocation
identifier "sb"
. "."
identifier "append"
argument_list
( "("
method_invocation
identifier "_referencedType"
. "."
identifier "toCanonical"
argument_list
( "("
) ")"
) ")"
; ";"
return_statement
return "return"
method_invocation
identifier "sb"
. "."
identifier "toString"
argument_list
( "("
) ")"
; ";"
} "}"
block_comment "/*\n /****************************************************"...
method_declaration (+54 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
type_identifier "JavaType"
identifier "getContentType"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "_referencedType"
; ";"
} "}"
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
type_identifier "JavaType"
identifier "getReferencedType"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "_referencedType"
; ";"
} "}"
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
boolean_type "boolean"
identifier "hasContentType"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
true "true"
; ";"
} "}"
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
boolean_type "boolean"
identifier "isReferenceType"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
true "true"
; ";"
} "}"
method_declaration (+30 nodes collapsed)
method_declaration (+69 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration
modifiers
public "public"
type_identifier "JavaType"
identifier "getAnchorType"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "_anchorType"
; ";"
} "}"
block_comment "/**\n * Convenience accessor that allows checking whether"...
method_declaration (+21 nodes collapsed)
block_comment "/*\n /****************************************************"...
method_declaration (+79 nodes collapsed)
method_declaration (+108 nodes collapsed)
} "}"