public class com.google.protobuf.TypeRegistry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.google.protobuf.TypeRegistry
super_class: java.lang.Object
{
private static final java.util.logging.Logger logger;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.Map<java.lang.String, com.google.protobuf.Descriptors$Descriptor> types;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/google/protobuf/Descriptors$Descriptor;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/google/protobuf/TypeRegistry;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic com.google.protobuf.TypeRegistry.logger:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public static com.google.protobuf.TypeRegistry getEmptyTypeRegistry();
descriptor: ()Lcom/google/protobuf/TypeRegistry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.protobuf.TypeRegistry$EmptyTypeRegistryHolder.EMPTY:Lcom/google/protobuf/TypeRegistry;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.google.protobuf.TypeRegistry$Builder newBuilder();
descriptor: ()Lcom/google/protobuf/TypeRegistry$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.google.protobuf.TypeRegistry$Builder
dup
invokespecial com.google.protobuf.TypeRegistry$Builder.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.protobuf.Descriptors$Descriptor find(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/google/protobuf/Descriptors$Descriptor;
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.TypeRegistry.types:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.protobuf.Descriptors$Descriptor
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/TypeRegistry;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public final com.google.protobuf.Descriptors$Descriptor getDescriptorForTypeUrl(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/google/protobuf/Descriptors$Descriptor;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.protobuf.TypeRegistry.getTypeName:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.google.protobuf.TypeRegistry.find:(Ljava/lang/String;)Lcom/google/protobuf/Descriptors$Descriptor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/TypeRegistry;
0 1 1 typeUrl Ljava/lang/String;
Exceptions:
throws com.google.protobuf.InvalidProtocolBufferException
MethodParameters:
Name Flags
typeUrl
void <init>(java.util.Map<java.lang.String, com.google.protobuf.Descriptors$Descriptor>);
descriptor: (Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.google.protobuf.TypeRegistry.types:Ljava/util/Map;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/TypeRegistry;
0 3 1 types Ljava/util/Map<Ljava/lang/String;Lcom/google/protobuf/Descriptors$Descriptor;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Lcom/google/protobuf/Descriptors$Descriptor;>;)V
MethodParameters:
Name Flags
types
private static java.lang.String getTypeName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ldc "/"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 1
start local 1 1: aload 1
arraylength
iconst_1
if_icmpne 3
2: new com.google.protobuf.InvalidProtocolBufferException
dup
new java.lang.StringBuilder
dup
ldc "Invalid type url found: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.google.protobuf.InvalidProtocolBufferException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String[]
StackMap stack:
aload 1
aload 1
arraylength
iconst_1
isub
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 typeUrl Ljava/lang/String;
1 4 1 parts [Ljava/lang/String;
Exceptions:
throws com.google.protobuf.InvalidProtocolBufferException
MethodParameters:
Name Flags
typeUrl
}
SourceFile: "TypeRegistry.java"
NestMembers:
com.google.protobuf.TypeRegistry$Builder com.google.protobuf.TypeRegistry$EmptyTypeRegistryHolder
InnerClasses:
public final Descriptor = com.google.protobuf.Descriptors$Descriptor of com.google.protobuf.Descriptors
public final Builder = com.google.protobuf.TypeRegistry$Builder of com.google.protobuf.TypeRegistry
private EmptyTypeRegistryHolder = com.google.protobuf.TypeRegistry$EmptyTypeRegistryHolder of com.google.protobuf.TypeRegistry