public class com.google.protobuf.ExtensionRegistry extends com.google.protobuf.ExtensionRegistryLite
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.google.protobuf.ExtensionRegistry
super_class: com.google.protobuf.ExtensionRegistryLite
{
private final java.util.Map<java.lang.String, com.google.protobuf.ExtensionRegistry$ExtensionInfo> immutableExtensionsByName;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
private final java.util.Map<java.lang.String, com.google.protobuf.ExtensionRegistry$ExtensionInfo> mutableExtensionsByName;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
private final java.util.Map<com.google.protobuf.ExtensionRegistry$DescriptorIntPair, com.google.protobuf.ExtensionRegistry$ExtensionInfo> immutableExtensionsByNumber;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lcom/google/protobuf/ExtensionRegistry$DescriptorIntPair;Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
private final java.util.Map<com.google.protobuf.ExtensionRegistry$DescriptorIntPair, com.google.protobuf.ExtensionRegistry$ExtensionInfo> mutableExtensionsByNumber;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lcom/google/protobuf/ExtensionRegistry$DescriptorIntPair;Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
static final com.google.protobuf.ExtensionRegistry EMPTY_REGISTRY;
descriptor: Lcom/google/protobuf/ExtensionRegistry;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$com$google$protobuf$Extension$ExtensionType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.google.protobuf.ExtensionRegistry
dup
iconst_1
invokespecial com.google.protobuf.ExtensionRegistry.<init>:(Z)V
putstatic com.google.protobuf.ExtensionRegistry.EMPTY_REGISTRY:Lcom/google/protobuf/ExtensionRegistry;
return
LocalVariableTable:
Start End Slot Name Signature
public static com.google.protobuf.ExtensionRegistry newInstance();
descriptor: ()Lcom/google/protobuf/ExtensionRegistry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.google.protobuf.ExtensionRegistry
dup
invokespecial com.google.protobuf.ExtensionRegistry.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.google.protobuf.ExtensionRegistry getEmptyRegistry();
descriptor: ()Lcom/google/protobuf/ExtensionRegistry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.protobuf.ExtensionRegistry.EMPTY_REGISTRY:Lcom/google/protobuf/ExtensionRegistry;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.protobuf.ExtensionRegistry getUnmodifiable();
descriptor: ()Lcom/google/protobuf/ExtensionRegistry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.protobuf.ExtensionRegistry
dup
aload 0
invokespecial com.google.protobuf.ExtensionRegistry.<init>:(Lcom/google/protobuf/ExtensionRegistry;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/ExtensionRegistry;
public com.google.protobuf.ExtensionRegistry$ExtensionInfo findExtensionByName(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.google.protobuf.ExtensionRegistry.findImmutableExtensionByName:(Ljava/lang/String;)Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/ExtensionRegistry;
0 1 1 fullName Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
fullName final
public com.google.protobuf.ExtensionRegistry$ExtensionInfo findImmutableExtensionByName(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByName:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.protobuf.ExtensionRegistry$ExtensionInfo
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/ExtensionRegistry;
0 1 1 fullName Ljava/lang/String;
MethodParameters:
Name Flags
fullName final
public com.google.protobuf.ExtensionRegistry$ExtensionInfo findMutableExtensionByName(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByName:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.protobuf.ExtensionRegistry$ExtensionInfo
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/ExtensionRegistry;
0 1 1 fullName Ljava/lang/String;
MethodParameters:
Name Flags
fullName final
public com.google.protobuf.ExtensionRegistry$ExtensionInfo findExtensionByNumber(com.google.protobuf.Descriptors$Descriptor, int);
descriptor: (Lcom/google/protobuf/Descriptors$Descriptor;I)Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokevirtual com.google.protobuf.ExtensionRegistry.findImmutableExtensionByNumber:(Lcom/google/protobuf/Descriptors$Descriptor;I)Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/ExtensionRegistry;
0 1 1 containingType Lcom/google/protobuf/Descriptors$Descriptor;
0 1 2 fieldNumber I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
containingType final
fieldNumber final
public com.google.protobuf.ExtensionRegistry$ExtensionInfo findImmutableExtensionByNumber(com.google.protobuf.Descriptors$Descriptor, int);
descriptor: (Lcom/google/protobuf/Descriptors$Descriptor;I)Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByNumber:Ljava/util/Map;
new com.google.protobuf.ExtensionRegistry$DescriptorIntPair
dup
aload 1
iload 2
invokespecial com.google.protobuf.ExtensionRegistry$DescriptorIntPair.<init>:(Lcom/google/protobuf/Descriptors$Descriptor;I)V
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.protobuf.ExtensionRegistry$ExtensionInfo
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/ExtensionRegistry;
0 1 1 containingType Lcom/google/protobuf/Descriptors$Descriptor;
0 1 2 fieldNumber I
MethodParameters:
Name Flags
containingType final
fieldNumber final
public com.google.protobuf.ExtensionRegistry$ExtensionInfo findMutableExtensionByNumber(com.google.protobuf.Descriptors$Descriptor, int);
descriptor: (Lcom/google/protobuf/Descriptors$Descriptor;I)Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByNumber:Ljava/util/Map;
new com.google.protobuf.ExtensionRegistry$DescriptorIntPair
dup
aload 1
iload 2
invokespecial com.google.protobuf.ExtensionRegistry$DescriptorIntPair.<init>:(Lcom/google/protobuf/Descriptors$Descriptor;I)V
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.protobuf.ExtensionRegistry$ExtensionInfo
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/ExtensionRegistry;
0 1 1 containingType Lcom/google/protobuf/Descriptors$Descriptor;
0 1 2 fieldNumber I
MethodParameters:
Name Flags
containingType final
fieldNumber final
public java.util.Set<com.google.protobuf.ExtensionRegistry$ExtensionInfo> getAllMutableExtensionsByExtendedType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 1: aload 0
getfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByNumber:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: com.google.protobuf.ExtensionRegistry java.lang.String java.util.HashSet top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.google.protobuf.ExtensionRegistry$DescriptorIntPair
astore 3
start local 3 3: aload 3
getfield com.google.protobuf.ExtensionRegistry$DescriptorIntPair.descriptor:Lcom/google/protobuf/Descriptors$Descriptor;
invokevirtual com.google.protobuf.Descriptors$Descriptor.getFullName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 2
aload 0
getfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByNumber:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.protobuf.ExtensionRegistry$ExtensionInfo
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/protobuf/ExtensionRegistry;
0 7 1 fullName Ljava/lang/String;
1 7 2 extensions Ljava/util/HashSet<Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
3 5 3 pair Lcom/google/protobuf/ExtensionRegistry$DescriptorIntPair;
Signature: (Ljava/lang/String;)Ljava/util/Set<Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
MethodParameters:
Name Flags
fullName final
public java.util.Set<com.google.protobuf.ExtensionRegistry$ExtensionInfo> getAllImmutableExtensionsByExtendedType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 1: aload 0
getfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByNumber:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: com.google.protobuf.ExtensionRegistry java.lang.String java.util.HashSet top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.google.protobuf.ExtensionRegistry$DescriptorIntPair
astore 3
start local 3 3: aload 3
getfield com.google.protobuf.ExtensionRegistry$DescriptorIntPair.descriptor:Lcom/google/protobuf/Descriptors$Descriptor;
invokevirtual com.google.protobuf.Descriptors$Descriptor.getFullName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 2
aload 0
getfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByNumber:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.protobuf.ExtensionRegistry$ExtensionInfo
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/protobuf/ExtensionRegistry;
0 7 1 fullName Ljava/lang/String;
1 7 2 extensions Ljava/util/HashSet<Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
3 5 3 pair Lcom/google/protobuf/ExtensionRegistry$DescriptorIntPair;
Signature: (Ljava/lang/String;)Ljava/util/Set<Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
MethodParameters:
Name Flags
fullName final
public void add(com.google.protobuf.Extension<?, ?>);
descriptor: (Lcom/google/protobuf/Extension;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.google.protobuf.Extension.getExtensionType:()Lcom/google/protobuf/Extension$ExtensionType;
getstatic com.google.protobuf.Extension$ExtensionType.IMMUTABLE:Lcom/google/protobuf/Extension$ExtensionType;
if_acmpeq 3
1: aload 1
invokevirtual com.google.protobuf.Extension.getExtensionType:()Lcom/google/protobuf/Extension$ExtensionType;
getstatic com.google.protobuf.Extension$ExtensionType.MUTABLE:Lcom/google/protobuf/Extension$ExtensionType;
if_acmpeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic com.google.protobuf.ExtensionRegistry.newExtensionInfo:(Lcom/google/protobuf/Extension;)Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;
aload 1
invokevirtual com.google.protobuf.Extension.getExtensionType:()Lcom/google/protobuf/Extension$ExtensionType;
invokevirtual com.google.protobuf.ExtensionRegistry.add:(Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;Lcom/google/protobuf/Extension$ExtensionType;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/protobuf/ExtensionRegistry;
0 5 1 extension Lcom/google/protobuf/Extension<**>;
Signature: (Lcom/google/protobuf/Extension<**>;)V
MethodParameters:
Name Flags
extension final
public void add(com.google.protobuf.GeneratedMessage$GeneratedExtension<?, ?>);
descriptor: (Lcom/google/protobuf/GeneratedMessage$GeneratedExtension;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.google.protobuf.ExtensionRegistry.add:(Lcom/google/protobuf/Extension;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/ExtensionRegistry;
0 2 1 extension Lcom/google/protobuf/GeneratedMessage$GeneratedExtension<**>;
Signature: (Lcom/google/protobuf/GeneratedMessage$GeneratedExtension<**>;)V
MethodParameters:
Name Flags
extension final
static com.google.protobuf.ExtensionRegistry$ExtensionInfo newExtensionInfo(com.google.protobuf.Extension<?, ?>);
descriptor: (Lcom/google/protobuf/Extension;)Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.protobuf.Extension.getDescriptor:()Lcom/google/protobuf/Descriptors$FieldDescriptor;
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.getJavaType:()Lcom/google/protobuf/Descriptors$FieldDescriptor$JavaType;
getstatic com.google.protobuf.Descriptors$FieldDescriptor$JavaType.MESSAGE:Lcom/google/protobuf/Descriptors$FieldDescriptor$JavaType;
if_acmpne 10
1: aload 0
invokevirtual com.google.protobuf.Extension.getMessageDefaultInstance:()Lcom/google/protobuf/Message;
ifnonnull 7
2: new java.lang.IllegalStateException
dup
3: new java.lang.StringBuilder
dup
ldc "Registered message-type extension had null default instance: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
invokevirtual com.google.protobuf.Extension.getDescriptor:()Lcom/google/protobuf/Descriptors$FieldDescriptor;
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.getFullName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
new com.google.protobuf.ExtensionRegistry$ExtensionInfo
dup
8: aload 0
invokevirtual com.google.protobuf.Extension.getDescriptor:()Lcom/google/protobuf/Descriptors$FieldDescriptor;
aload 0
invokevirtual com.google.protobuf.Extension.getMessageDefaultInstance:()Lcom/google/protobuf/Message;
9: invokespecial com.google.protobuf.ExtensionRegistry$ExtensionInfo.<init>:(Lcom/google/protobuf/Descriptors$FieldDescriptor;Lcom/google/protobuf/Message;)V
areturn
10: StackMap locals:
StackMap stack:
new com.google.protobuf.ExtensionRegistry$ExtensionInfo
dup
aload 0
invokevirtual com.google.protobuf.Extension.getDescriptor:()Lcom/google/protobuf/Descriptors$FieldDescriptor;
aconst_null
invokespecial com.google.protobuf.ExtensionRegistry$ExtensionInfo.<init>:(Lcom/google/protobuf/Descriptors$FieldDescriptor;Lcom/google/protobuf/Message;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 extension Lcom/google/protobuf/Extension<**>;
Signature: (Lcom/google/protobuf/Extension<**>;)Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;
MethodParameters:
Name Flags
extension final
public void add(com.google.protobuf.Descriptors$FieldDescriptor);
descriptor: (Lcom/google/protobuf/Descriptors$FieldDescriptor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.getJavaType:()Lcom/google/protobuf/Descriptors$FieldDescriptor$JavaType;
getstatic com.google.protobuf.Descriptors$FieldDescriptor$JavaType.MESSAGE:Lcom/google/protobuf/Descriptors$FieldDescriptor$JavaType;
if_acmpne 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "ExtensionRegistry.add() must be provided a default instance when adding an embedded message extension."
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new com.google.protobuf.ExtensionRegistry$ExtensionInfo
dup
aload 1
aconst_null
invokespecial com.google.protobuf.ExtensionRegistry$ExtensionInfo.<init>:(Lcom/google/protobuf/Descriptors$FieldDescriptor;Lcom/google/protobuf/Message;)V
astore 2
start local 2 5: aload 0
aload 2
getstatic com.google.protobuf.Extension$ExtensionType.IMMUTABLE:Lcom/google/protobuf/Extension$ExtensionType;
invokevirtual com.google.protobuf.ExtensionRegistry.add:(Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;Lcom/google/protobuf/Extension$ExtensionType;)V
6: aload 0
aload 2
getstatic com.google.protobuf.Extension$ExtensionType.MUTABLE:Lcom/google/protobuf/Extension$ExtensionType;
invokevirtual com.google.protobuf.ExtensionRegistry.add:(Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;Lcom/google/protobuf/Extension$ExtensionType;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/protobuf/ExtensionRegistry;
0 8 1 type Lcom/google/protobuf/Descriptors$FieldDescriptor;
5 8 2 info Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;
MethodParameters:
Name Flags
type final
public void add(com.google.protobuf.Descriptors$FieldDescriptor, com.google.protobuf.Message);
descriptor: (Lcom/google/protobuf/Descriptors$FieldDescriptor;Lcom/google/protobuf/Message;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.getJavaType:()Lcom/google/protobuf/Descriptors$FieldDescriptor$JavaType;
getstatic com.google.protobuf.Descriptors$FieldDescriptor$JavaType.MESSAGE:Lcom/google/protobuf/Descriptors$FieldDescriptor$JavaType;
if_acmpeq 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "ExtensionRegistry.add() provided a default instance for a non-message extension."
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
new com.google.protobuf.ExtensionRegistry$ExtensionInfo
dup
aload 1
aload 2
invokespecial com.google.protobuf.ExtensionRegistry$ExtensionInfo.<init>:(Lcom/google/protobuf/Descriptors$FieldDescriptor;Lcom/google/protobuf/Message;)V
getstatic com.google.protobuf.Extension$ExtensionType.IMMUTABLE:Lcom/google/protobuf/Extension$ExtensionType;
invokevirtual com.google.protobuf.ExtensionRegistry.add:(Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;Lcom/google/protobuf/Extension$ExtensionType;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/protobuf/ExtensionRegistry;
0 6 1 type Lcom/google/protobuf/Descriptors$FieldDescriptor;
0 6 2 defaultInstance Lcom/google/protobuf/Message;
MethodParameters:
Name Flags
type final
defaultInstance final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.google.protobuf.ExtensionRegistryLite.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByName:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByName:Ljava/util/Map;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByNumber:Ljava/util/Map;
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByNumber:Ljava/util/Map;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/protobuf/ExtensionRegistry;
private void <init>(com.google.protobuf.ExtensionRegistry);
descriptor: (Lcom/google/protobuf/ExtensionRegistry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.google.protobuf.ExtensionRegistryLite.<init>:(Lcom/google/protobuf/ExtensionRegistryLite;)V
1: aload 0
aload 1
getfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByName:Ljava/util/Map;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByName:Ljava/util/Map;
2: aload 0
aload 1
getfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByName:Ljava/util/Map;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByName:Ljava/util/Map;
3: aload 0
4: aload 1
getfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByNumber:Ljava/util/Map;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
5: putfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByNumber:Ljava/util/Map;
6: aload 0
aload 1
getfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByNumber:Ljava/util/Map;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByNumber:Ljava/util/Map;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/protobuf/ExtensionRegistry;
0 8 1 other Lcom/google/protobuf/ExtensionRegistry;
MethodParameters:
Name Flags
other
void <init>(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.google.protobuf.ExtensionRegistry.EMPTY_REGISTRY_LITE:Lcom/google/protobuf/ExtensionRegistryLite;
invokespecial com.google.protobuf.ExtensionRegistryLite.<init>:(Lcom/google/protobuf/ExtensionRegistryLite;)V
1: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByName:Ljava/util/Map;
2: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByName:Ljava/util/Map;
3: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByNumber:Ljava/util/Map;
4: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByNumber:Ljava/util/Map;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/protobuf/ExtensionRegistry;
0 6 1 empty Z
MethodParameters:
Name Flags
empty
private void add(com.google.protobuf.ExtensionRegistry$ExtensionInfo, com.google.protobuf.Extension$ExtensionType);
descriptor: (Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;Lcom/google/protobuf/Extension$ExtensionType;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield com.google.protobuf.ExtensionRegistry$ExtensionInfo.descriptor:Lcom/google/protobuf/Descriptors$FieldDescriptor;
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.isExtension:()Z
ifne 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "ExtensionRegistry.add() was given a FieldDescriptor for a regular (non-extension) field."
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic com.google.protobuf.ExtensionRegistry.$SWITCH_TABLE$com$google$protobuf$Extension$ExtensionType:()[I
aload 2
invokevirtual com.google.protobuf.Extension$ExtensionType.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 5
2: 8
default: 11
}
5: StackMap locals:
StackMap stack:
aload 0
getfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByName:Ljava/util/Map;
astore 3
start local 3 6: aload 0
getfield com.google.protobuf.ExtensionRegistry.immutableExtensionsByNumber:Ljava/util/Map;
astore 4
start local 4 7: goto 12
end local 4 end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByName:Ljava/util/Map;
astore 3
start local 3 9: aload 0
getfield com.google.protobuf.ExtensionRegistry.mutableExtensionsByNumber:Ljava/util/Map;
astore 4
start local 4 10: goto 12
end local 4 end local 3 11: StackMap locals:
StackMap stack:
return
start local 3 start local 4 12: StackMap locals: java.util.Map java.util.Map
StackMap stack:
aload 3
aload 1
getfield com.google.protobuf.ExtensionRegistry$ExtensionInfo.descriptor:Lcom/google/protobuf/Descriptors$FieldDescriptor;
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.getFullName:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 4
14: new com.google.protobuf.ExtensionRegistry$DescriptorIntPair
dup
15: aload 1
getfield com.google.protobuf.ExtensionRegistry$ExtensionInfo.descriptor:Lcom/google/protobuf/Descriptors$FieldDescriptor;
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.getContainingType:()Lcom/google/protobuf/Descriptors$Descriptor;
aload 1
getfield com.google.protobuf.ExtensionRegistry$ExtensionInfo.descriptor:Lcom/google/protobuf/Descriptors$FieldDescriptor;
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.getNumber:()I
16: invokespecial com.google.protobuf.ExtensionRegistry$DescriptorIntPair.<init>:(Lcom/google/protobuf/Descriptors$Descriptor;I)V
17: aload 1
18: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 1
getfield com.google.protobuf.ExtensionRegistry$ExtensionInfo.descriptor:Lcom/google/protobuf/Descriptors$FieldDescriptor;
astore 5
start local 5 20: aload 5
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.getContainingType:()Lcom/google/protobuf/Descriptors$Descriptor;
invokevirtual com.google.protobuf.Descriptors$Descriptor.getOptions:()Lcom/google/protobuf/DescriptorProtos$MessageOptions;
invokevirtual com.google.protobuf.DescriptorProtos$MessageOptions.getMessageSetWireFormat:()Z
ifeq 25
21: aload 5
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.getType:()Lcom/google/protobuf/Descriptors$FieldDescriptor$Type;
getstatic com.google.protobuf.Descriptors$FieldDescriptor$Type.MESSAGE:Lcom/google/protobuf/Descriptors$FieldDescriptor$Type;
if_acmpne 25
22: aload 5
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.isOptional:()Z
ifeq 25
23: aload 5
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.getExtensionScope:()Lcom/google/protobuf/Descriptors$Descriptor;
aload 5
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.getMessageType:()Lcom/google/protobuf/Descriptors$Descriptor;
if_acmpne 25
24: aload 3
aload 5
invokevirtual com.google.protobuf.Descriptors$FieldDescriptor.getMessageType:()Lcom/google/protobuf/Descriptors$Descriptor;
invokevirtual com.google.protobuf.Descriptors$Descriptor.getFullName:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
25: StackMap locals: com.google.protobuf.Descriptors$FieldDescriptor
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/google/protobuf/ExtensionRegistry;
0 26 1 extension Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;
0 26 2 extensionType Lcom/google/protobuf/Extension$ExtensionType;
6 8 3 extensionsByName Ljava/util/Map<Ljava/lang/String;Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
9 11 3 extensionsByName Ljava/util/Map<Ljava/lang/String;Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
12 26 3 extensionsByName Ljava/util/Map<Ljava/lang/String;Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
7 8 4 extensionsByNumber Ljava/util/Map<Lcom/google/protobuf/ExtensionRegistry$DescriptorIntPair;Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
10 11 4 extensionsByNumber Ljava/util/Map<Lcom/google/protobuf/ExtensionRegistry$DescriptorIntPair;Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
12 26 4 extensionsByNumber Ljava/util/Map<Lcom/google/protobuf/ExtensionRegistry$DescriptorIntPair;Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;>;
20 26 5 field Lcom/google/protobuf/Descriptors$FieldDescriptor;
Signature: (Lcom/google/protobuf/ExtensionRegistry$ExtensionInfo;Lcom/google/protobuf/Extension$ExtensionType;)V
MethodParameters:
Name Flags
extension final
extensionType final
public com.google.protobuf.ExtensionRegistryLite getUnmodifiable();
descriptor: ()Lcom/google/protobuf/ExtensionRegistryLite;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.google.protobuf.ExtensionRegistry.getUnmodifiable:()Lcom/google/protobuf/ExtensionRegistry;
areturn
LocalVariableTable:
Start End Slot Name Signature
static int[] $SWITCH_TABLE$com$google$protobuf$Extension$ExtensionType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.google.protobuf.ExtensionRegistry.$SWITCH_TABLE$com$google$protobuf$Extension$ExtensionType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.google.protobuf.Extension$ExtensionType.values:()[Lcom/google/protobuf/Extension$ExtensionType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.google.protobuf.Extension$ExtensionType.IMMUTABLE:Lcom/google/protobuf/Extension$ExtensionType;
invokevirtual com.google.protobuf.Extension$ExtensionType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.google.protobuf.Extension$ExtensionType.MUTABLE:Lcom/google/protobuf/Extension$ExtensionType;
invokevirtual com.google.protobuf.Extension$ExtensionType.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.google.protobuf.Extension$ExtensionType.PROTO1:Lcom/google/protobuf/Extension$ExtensionType;
invokevirtual com.google.protobuf.Extension$ExtensionType.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic com.google.protobuf.ExtensionRegistry.$SWITCH_TABLE$com$google$protobuf$Extension$ExtensionType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "ExtensionRegistry.java"
NestMembers:
com.google.protobuf.ExtensionRegistry$DescriptorIntPair com.google.protobuf.ExtensionRegistry$ExtensionInfo
InnerClasses:
public final MessageOptions = com.google.protobuf.DescriptorProtos$MessageOptions of com.google.protobuf.DescriptorProtos
public final Descriptor = com.google.protobuf.Descriptors$Descriptor of com.google.protobuf.Descriptors
public final FieldDescriptor = com.google.protobuf.Descriptors$FieldDescriptor of com.google.protobuf.Descriptors
public final JavaType = com.google.protobuf.Descriptors$FieldDescriptor$JavaType of com.google.protobuf.Descriptors$FieldDescriptor
public final Type = com.google.protobuf.Descriptors$FieldDescriptor$Type of com.google.protobuf.Descriptors$FieldDescriptor
protected final ExtensionType = com.google.protobuf.Extension$ExtensionType of com.google.protobuf.Extension
private final DescriptorIntPair = com.google.protobuf.ExtensionRegistry$DescriptorIntPair of com.google.protobuf.ExtensionRegistry
public final ExtensionInfo = com.google.protobuf.ExtensionRegistry$ExtensionInfo of com.google.protobuf.ExtensionRegistry
public GeneratedExtension = com.google.protobuf.GeneratedMessage$GeneratedExtension of com.google.protobuf.GeneratedMessage