class_body
{ "{"
field_declaration (+27 nodes collapsed)
field_declaration (+23 nodes collapsed)
field_declaration (+21 nodes collapsed)
field_declaration (+21 nodes collapsed)
field_declaration (+21 nodes collapsed)
field_declaration (+21 nodes collapsed)
field_declaration (+21 nodes collapsed)
field_declaration (+27 nodes collapsed)
field_declaration (+21 nodes collapsed)
block_comment "/** Sets the default feature mappings used during the build."...
method_declaration
modifiers
static "static"
void_type "void"
identifier "setTestJavaEditionDefaults"
formal_parameters
( "("
formal_parameter
type_identifier "FeatureSetDefaults"
identifier "defaults"
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "javaEditionDefaults"
= "="
identifier "defaults"
; ";"
} "}"
block_comment "/** Gets the default feature mappings used during the build."...
method_declaration (+163 nodes collapsed)
method_declaration (+291 nodes collapsed)
method_declaration (+51 nodes collapsed)
block_comment "/**\n * Describes a {@code .proto} file, including everythi"...
class_declaration (+4562 nodes collapsed)
line_comment "// ========================================================="...
block_comment "/** Describes a message type. */"
class_declaration (+3531 nodes collapsed)
line_comment "// ========================================================="...
block_comment "/** Describes a field of a message type. */"
class_declaration (+6317 nodes collapsed)
line_comment "// ========================================================="...
block_comment "/** Describes an enum type. */"
class_declaration (+1967 nodes collapsed)
line_comment "// ========================================================="...
block_comment "/**\n * Describes one value within an enum type. Note that "...
class_declaration (+813 nodes collapsed)
line_comment "// ========================================================="...
block_comment "/** Describes a service type. */"
class_declaration (+816 nodes collapsed)
line_comment "// ========================================================="...
block_comment "/** Describes one method within a service type. */"
class_declaration (+803 nodes collapsed)
line_comment "// ========================================================="...
block_comment "/**\n * @throws NullPointerException if both `file` and `pa"...
method_declaration (+103 nodes collapsed)
line_comment "// ========================================================="...
block_comment "/**\n * All descriptors implement this to make it easier to"...
class_declaration (+718 nodes collapsed)
block_comment "/** Thrown when building descriptors fails because the sourc"...
class_declaration (+298 nodes collapsed)
line_comment "// ========================================================="...
block_comment "/**\n * A private helper class which contains lookup tables"...
class_declaration (+2127 nodes collapsed)
block_comment "/** Describes a oneof of a message type. */"
class_declaration
modifiers
public "public"
static "static"
final "final"
class "class"
identifier "OneofDescriptor"
superclass
extends "extends"
type_identifier "GenericDescriptor"
class_body
{ "{"
block_comment "/** Get the index of this descriptor within its parent. */"
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getIndex"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "index"
; ";"
} "}"
method_declaration (+24 nodes collapsed)
method_declaration (+24 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
type_identifier "GenericDescriptor"
identifier "getParent"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "containingType"
; ";"
} "}"
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
type_identifier "String"
identifier "getFullName"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "fullName"
; ";"
} "}"
method_declaration
modifiers
public "public"
type_identifier "Descriptor"
identifier "getContainingType"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "containingType"
; ";"
} "}"
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getFieldCount"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "fieldCount"
; ";"
} "}"
method_declaration (+124 nodes collapsed)
block_comment "/** Get a list of this message type's fields. */"
method_declaration (+34 nodes collapsed)
method_declaration (+23 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
type_identifier "OneofDescriptorProto"
identifier "toProto"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "proto"
; ";"
} "}"
method_declaration (+29 nodes collapsed)
block_comment "/** See {@link FileDescriptor#resolveAllFeatures}. */"
method_declaration (+34 nodes collapsed)
method_declaration (+57 nodes collapsed)
constructor_declaration
modifiers
private "private"
identifier "OneofDescriptor"
formal_parameters (+21 nodes collapsed)
constructor_body (+54 nodes collapsed)
field_declaration
modifiers
private "private"
final "final"
integral_type
int "int"
variable_declarator
identifier "index"
; ";"
field_declaration
modifiers
private "private"
type_identifier "OneofDescriptorProto"
variable_declarator
identifier "proto"
; ";"
field_declaration
modifiers
private "private"
volatile "volatile"
type_identifier "OneofOptions"
variable_declarator
identifier "options"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "String"
variable_declarator
identifier "fullName"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "Descriptor"
variable_declarator
identifier "containingType"
; ";"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "fieldCount"
; ";"
field_declaration
modifiers
private "private"
array_type
type_identifier "FieldDescriptor"
dimensions
[ "["
] "]"
variable_declarator
identifier "fields"
; ";"
} "}"
method_declaration (+172 nodes collapsed)
} "}"