final class com.google.protobuf.Protobuf
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.protobuf.Protobuf
super_class: java.lang.Object
{
private static final com.google.protobuf.Protobuf INSTANCE;
descriptor: Lcom/google/protobuf/Protobuf;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final com.google.protobuf.SchemaFactory schemaFactory;
descriptor: Lcom/google/protobuf/SchemaFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.ConcurrentMap<java.lang.Class<?>, com.google.protobuf.Schema<?>> schemaCache;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/Class<*>;Lcom/google/protobuf/Schema<*>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.google.protobuf.Protobuf
dup
invokespecial com.google.protobuf.Protobuf.<init>:()V
putstatic com.google.protobuf.Protobuf.INSTANCE:Lcom/google/protobuf/Protobuf;
return
LocalVariableTable:
Start End Slot Name Signature
public static com.google.protobuf.Protobuf getInstance();
descriptor: ()Lcom/google/protobuf/Protobuf;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.protobuf.Protobuf.INSTANCE:Lcom/google/protobuf/Protobuf;
areturn
LocalVariableTable:
Start End Slot Name Signature
public <T> void writeTo(T, com.google.protobuf.Writer);
descriptor: (Ljava/lang/Object;Lcom/google/protobuf/Writer;)V
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
invokevirtual com.google.protobuf.Protobuf.schemaFor:(Ljava/lang/Object;)Lcom/google/protobuf/Schema;
aload 1
aload 2
invokeinterface com.google.protobuf.Schema.writeTo:(Ljava/lang/Object;Lcom/google/protobuf/Writer;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/Protobuf;
0 2 1 message TT;
0 2 2 writer Lcom/google/protobuf/Writer;
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(TT;Lcom/google/protobuf/Writer;)V
MethodParameters:
Name Flags
message
writer
public <T> void mergeFrom(T, com.google.protobuf.Reader);
descriptor: (Ljava/lang/Object;Lcom/google/protobuf/Reader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic com.google.protobuf.ExtensionRegistryLite.getEmptyRegistry:()Lcom/google/protobuf/ExtensionRegistryLite;
invokevirtual com.google.protobuf.Protobuf.mergeFrom:(Ljava/lang/Object;Lcom/google/protobuf/Reader;Lcom/google/protobuf/ExtensionRegistryLite;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/Protobuf;
0 2 1 message TT;
0 2 2 reader Lcom/google/protobuf/Reader;
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(TT;Lcom/google/protobuf/Reader;)V
MethodParameters:
Name Flags
message
reader
public <T> void mergeFrom(T, com.google.protobuf.Reader, com.google.protobuf.ExtensionRegistryLite);
descriptor: (Ljava/lang/Object;Lcom/google/protobuf/Reader;Lcom/google/protobuf/ExtensionRegistryLite;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual com.google.protobuf.Protobuf.schemaFor:(Ljava/lang/Object;)Lcom/google/protobuf/Schema;
aload 1
aload 2
aload 3
invokeinterface com.google.protobuf.Schema.mergeFrom:(Ljava/lang/Object;Lcom/google/protobuf/Reader;Lcom/google/protobuf/ExtensionRegistryLite;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/Protobuf;
0 2 1 message TT;
0 2 2 reader Lcom/google/protobuf/Reader;
0 2 3 extensionRegistry Lcom/google/protobuf/ExtensionRegistryLite;
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(TT;Lcom/google/protobuf/Reader;Lcom/google/protobuf/ExtensionRegistryLite;)V
MethodParameters:
Name Flags
message
reader
extensionRegistry
public <T> void makeImmutable();
descriptor: (Ljava/lang/Object;)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.Protobuf.schemaFor:(Ljava/lang/Object;)Lcom/google/protobuf/Schema;
aload 1
invokeinterface com.google.protobuf.Schema.makeImmutable:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/Protobuf;
0 2 1 message TT;
Signature: <T:Ljava/lang/Object;>(TT;)V
MethodParameters:
Name Flags
message
public <T> boolean isInitialized();
descriptor: (Ljava/lang/Object;)Z
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.Protobuf.schemaFor:(Ljava/lang/Object;)Lcom/google/protobuf/Schema;
aload 1
invokeinterface com.google.protobuf.Schema.isInitialized:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/Protobuf;
0 1 1 message TT;
Signature: <T:Ljava/lang/Object;>(TT;)Z
MethodParameters:
Name Flags
message
public <T> com.google.protobuf.Schema<T> schemaFor(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lcom/google/protobuf/Schema;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "messageType"
invokestatic com.google.protobuf.Internal.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield com.google.protobuf.Protobuf.schemaCache:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.protobuf.Schema
astore 2
start local 2 2: aload 2
ifnonnull 7
3: aload 0
getfield com.google.protobuf.Protobuf.schemaFactory:Lcom/google/protobuf/SchemaFactory;
aload 1
invokeinterface com.google.protobuf.SchemaFactory.createSchema:(Ljava/lang/Class;)Lcom/google/protobuf/Schema;
astore 2
4: aload 0
aload 1
aload 2
invokevirtual com.google.protobuf.Protobuf.registerSchema:(Ljava/lang/Class;Lcom/google/protobuf/Schema;)Lcom/google/protobuf/Schema;
astore 3
start local 3 5: aload 3
ifnull 7
6: aload 3
astore 2
end local 3 7: StackMap locals: com.google.protobuf.Schema
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/protobuf/Protobuf;
0 8 1 messageType Ljava/lang/Class<TT;>;
2 8 2 schema Lcom/google/protobuf/Schema<TT;>;
5 7 3 previous Lcom/google/protobuf/Schema<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Lcom/google/protobuf/Schema<TT;>;
MethodParameters:
Name Flags
messageType
public <T> com.google.protobuf.Schema<T> schemaFor(T);
descriptor: (Ljava/lang/Object;)Lcom/google/protobuf/Schema;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual com.google.protobuf.Protobuf.schemaFor:(Ljava/lang/Class;)Lcom/google/protobuf/Schema;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/Protobuf;
0 1 1 message TT;
Signature: <T:Ljava/lang/Object;>(TT;)Lcom/google/protobuf/Schema<TT;>;
MethodParameters:
Name Flags
message
public com.google.protobuf.Schema<?> registerSchema(java.lang.Class<?>, com.google.protobuf.Schema<?>);
descriptor: (Ljava/lang/Class;Lcom/google/protobuf/Schema;)Lcom/google/protobuf/Schema;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "messageType"
invokestatic com.google.protobuf.Internal.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "schema"
invokestatic com.google.protobuf.Internal.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
getfield com.google.protobuf.Protobuf.schemaCache:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.protobuf.Schema
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/Protobuf;
0 3 1 messageType Ljava/lang/Class<*>;
0 3 2 schema Lcom/google/protobuf/Schema<*>;
Signature: (Ljava/lang/Class<*>;Lcom/google/protobuf/Schema<*>;)Lcom/google/protobuf/Schema<*>;
MethodParameters:
Name Flags
messageType
schema
public com.google.protobuf.Schema<?> registerSchemaOverride(java.lang.Class<?>, com.google.protobuf.Schema<?>);
descriptor: (Ljava/lang/Class;Lcom/google/protobuf/Schema;)Lcom/google/protobuf/Schema;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "messageType"
invokestatic com.google.protobuf.Internal.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "schema"
invokestatic com.google.protobuf.Internal.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
getfield com.google.protobuf.Protobuf.schemaCache:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.protobuf.Schema
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/Protobuf;
0 3 1 messageType Ljava/lang/Class<*>;
0 3 2 schema Lcom/google/protobuf/Schema<*>;
Signature: (Ljava/lang/Class<*>;Lcom/google/protobuf/Schema<*>;)Lcom/google/protobuf/Schema<*>;
MethodParameters:
Name Flags
messageType
schema
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield com.google.protobuf.Protobuf.schemaCache:Ljava/util/concurrent/ConcurrentMap;
3: aload 0
new com.google.protobuf.ManifestSchemaFactory
dup
invokespecial com.google.protobuf.ManifestSchemaFactory.<init>:()V
putfield com.google.protobuf.Protobuf.schemaFactory:Lcom/google/protobuf/SchemaFactory;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/protobuf/Protobuf;
int getTotalSchemaSize();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield com.google.protobuf.Protobuf.schemaCache:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: com.google.protobuf.Protobuf int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.google.protobuf.Schema
astore 2
start local 2 3: aload 2
instanceof com.google.protobuf.MessageSchema
ifeq 5
4: iload 1
aload 2
checkcast com.google.protobuf.MessageSchema
invokevirtual com.google.protobuf.MessageSchema.getSchemaSize:()I
iadd
istore 1
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/protobuf/Protobuf;
1 7 1 result I
3 5 2 schema Lcom/google/protobuf/Schema<*>;
}
SourceFile: "Protobuf.java"