class_body
{ "{"
block_comment "/* For use by lite runtime only */"
field_declaration
modifiers
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "UNINITIALIZED_SERIALIZED_SIZE"
= "="
hex_integer_literal "0x7FFFFFFF"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "MUTABLE_FLAG_MASK"
= "="
hex_integer_literal "0x80000000"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "MEMOIZED_SERIALIZED_SIZE_MASK"
= "="
hex_integer_literal "0x7FFFFFFF"
; ";"
block_comment "/**\n * We use the high bit of memoizedSerializedSize as th"...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "memoizedSerializedSize"
= "="
binary_expression
identifier "MUTABLE_FLAG_MASK"
| "|"
identifier "UNINITIALIZED_SERIALIZED_SIZE"
; ";"
block_comment "/* For use by the runtime only */"
field_declaration
modifiers
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "UNINITIALIZED_HASH_CODE"
= "="
decimal_integer_literal "0"
; ";"
block_comment "/** For use by generated code only. Lazily initialized to re"...
field_declaration
modifiers
protected "protected"
type_identifier "UnknownFieldSetLite"
variable_declarator
identifier "unknownFields"
= "="
method_invocation
identifier "UnknownFieldSetLite"
. "."
identifier "getDefaultInstance"
argument_list
( "("
) ")"
; ";"
method_declaration (+24 nodes collapsed)
method_declaration
modifiers
final "final"
void_type "void"
identifier "markImmutable"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "memoizedSerializedSize"
&= "&="
unary_expression
~ "~"
identifier "MUTABLE_FLAG_MASK"
; ";"
} "}"
method_declaration
modifiers
final "final"
integral_type
int "int"
identifier "getMemoizedHashCode"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "memoizedHashCode"
; ";"
} "}"
method_declaration
void_type "void"
identifier "setMemoizedHashCode"
formal_parameters
( "("
formal_parameter
integral_type
int "int"
identifier "value"
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "memoizedHashCode"
= "="
identifier "value"
; ";"
} "}"
method_declaration
void_type "void"
identifier "clearMemoizedHashCode"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "memoizedHashCode"
= "="
identifier "UNINITIALIZED_HASH_CODE"
; ";"
} "}"
method_declaration
boolean_type "boolean"
identifier "hashCodeIsNotMemoized"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
binary_expression
identifier "UNINITIALIZED_HASH_CODE"
== "=="
method_invocation
identifier "getMemoizedHashCode"
argument_list
( "("
) ")"
; ";"
} "}"
method_declaration (+56 nodes collapsed)
method_declaration (+46 nodes collapsed)
method_declaration (+46 nodes collapsed)
method_declaration (+41 nodes collapsed)
block_comment "/**\n * A reflective toString function. This is primarily i"...
method_declaration (+33 nodes collapsed)
method_declaration (+69 nodes collapsed)
method_declaration (+34 nodes collapsed)
method_declaration (+118 nodes collapsed)
line_comment "// The general strategy for unknown fields is to use an Unkn"...
line_comment "// mutable during the parsing constructor and immutable afte"...
line_comment "// any unnecessary intermediary allocations while reducing t"...
block_comment "/** Lazily initializes unknown fields. */"
method_declaration (+41 nodes collapsed)
block_comment "/**\n * Called by subclasses to parse an unknown field. For"...
method_declaration (+69 nodes collapsed)
block_comment "/** Called by subclasses to parse an unknown field. For use "...
method_declaration (+39 nodes collapsed)
block_comment "/** Called by subclasses to parse an unknown field. For use "...
method_declaration (+38 nodes collapsed)
block_comment "/** Called by subclasses to complete parsing. For use by gen"...
method_declaration (+41 nodes collapsed)
method_declaration (+74 nodes collapsed)
method_declaration (+79 nodes collapsed)
method_declaration (+42 nodes collapsed)
method_declaration (+63 nodes collapsed)
block_comment "/**\n * Defines which method path to invoke in {@link Gener"...
enum_declaration (+33 nodes collapsed)
block_comment "/**\n * A method that implements different types of operati"...
method_declaration (+21 nodes collapsed)
method_declaration
void_type "void"
identifier "clearMemoizedSerializedSize"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
method_invocation
identifier "setMemoizedSerializedSize"
argument_list
( "("
identifier "UNINITIALIZED_SERIALIZED_SIZE"
) ")"
; ";"
} "}"
method_declaration (+21 nodes collapsed)
method_declaration (+66 nodes collapsed)
method_declaration (+52 nodes collapsed)
method_declaration (+137 nodes collapsed)
method_declaration (+26 nodes collapsed)
method_declaration (+101 nodes collapsed)
block_comment "/** Constructs a {@link MessageInfo} for this message type. "...
method_declaration (+28 nodes collapsed)
field_declaration (+41 nodes collapsed)
method_declaration (+227 nodes collapsed)
method_declaration (+67 nodes collapsed)
method_declaration (+41 nodes collapsed)
block_comment "/**\n * Merge some unknown fields into the {@link UnknownFi"...
method_declaration (+36 nodes collapsed)
class_declaration (+1011 nodes collapsed)
line_comment "// ========================================================="...
line_comment "// Extensions-related stuff"
block_comment "/** Lite equivalent of {@link com.google.protobuf.GeneratedM"...
interface_declaration (+148 nodes collapsed)
block_comment "/** Lite equivalent of {@link GeneratedMessage.ExtendableMes"...
class_declaration (+2817 nodes collapsed)
block_comment "/** Lite equivalent of {@link GeneratedMessage.ExtendableBui"...
class_declaration (+1003 nodes collapsed)
line_comment "// ---------------------------------------------------------"...
block_comment "/** For use by generated code only. */"
method_declaration (+131 nodes collapsed)
block_comment "/** For use by generated code only. */"
method_declaration (+159 nodes collapsed)
class_declaration (+398 nodes collapsed)
line_comment "// ========================================================="...
block_comment "/** Calls Class.getMethod and throws a RuntimeException if i"...
method_declaration (+114 nodes collapsed)
block_comment "/** Calls invoke and throws a RuntimeException if it fails. "...
method_declaration (+154 nodes collapsed)
block_comment "/**\n * Lite equivalent to {@link GeneratedMessage.Generate"...
class_declaration (+750 nodes collapsed)
block_comment "/**\n * A serialized (serializable) form of the generated m"...
class_declaration (+508 nodes collapsed)
block_comment "/** Checks that the {@link Extension} is Lite and returns it"...
method_declaration (+105 nodes collapsed)
block_comment "/** A static helper method for checking if a message is init"...
method_declaration (+161 nodes collapsed)
method_declaration (+22 nodes collapsed)
method_declaration (+43 nodes collapsed)
method_declaration (+22 nodes collapsed)
method_declaration (+43 nodes collapsed)
method_declaration (+22 nodes collapsed)
method_declaration (+43 nodes collapsed)
method_declaration (+22 nodes collapsed)
method_declaration (+43 nodes collapsed)
method_declaration (+22 nodes collapsed)
method_declaration (+43 nodes collapsed)
method_declaration (+32 nodes collapsed)
method_declaration (+58 nodes collapsed)
block_comment "/**\n * A {@link Parser} implementation that delegates to t"...
class_declaration (+160 nodes collapsed)
block_comment "/**\n * A static helper method for parsing a partial from i"...
line_comment "// TODO: Should this verify that the last tag was 0?"
method_declaration (+305 nodes collapsed)
block_comment "/** A static helper method for parsing a partial from byte a"...
method_declaration (+325 nodes collapsed)
method_declaration (+57 nodes collapsed)
block_comment "/**\n * Helper method to check if message is initialized.\n "...
method_declaration (+84 nodes collapsed)
line_comment "// Validates last tag."
method_declaration (+67 nodes collapsed)
line_comment "// Validates last tag."
method_declaration (+57 nodes collapsed)
line_comment "// Validates last tag."
method_declaration (+62 nodes collapsed)
line_comment "// Validates last tag."
method_declaration (+60 nodes collapsed)
line_comment "// This is a special case since we want to verify that the l"...
line_comment "// ByteString."
method_declaration (+112 nodes collapsed)
line_comment "// Validates last tag."
method_declaration (+74 nodes collapsed)
line_comment "// Validates last tag."
method_declaration (+72 nodes collapsed)
line_comment "// Does not validate last tag."
method_declaration (+69 nodes collapsed)
line_comment "// Does not validate last tag."
method_declaration (+67 nodes collapsed)
line_comment "// Does not validate last tag."
method_declaration (+57 nodes collapsed)
line_comment "// Does not validate last tag."
method_declaration (+60 nodes collapsed)
line_comment "// Validates last tag."
method_declaration (+62 nodes collapsed)
line_comment "// Validates last tag."
method_declaration (+60 nodes collapsed)
method_declaration (+249 nodes collapsed)
} "}"