final class com.google.protobuf.ManifestSchemaFactory implements com.google.protobuf.SchemaFactory
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.protobuf.ManifestSchemaFactory
super_class: java.lang.Object
{
private final com.google.protobuf.MessageInfoFactory messageInfoFactory;
descriptor: Lcom/google/protobuf/MessageInfoFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final com.google.protobuf.MessageInfoFactory EMPTY_FACTORY;
descriptor: Lcom/google/protobuf/MessageInfoFactory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.google.protobuf.ManifestSchemaFactory$1
dup
invokespecial com.google.protobuf.ManifestSchemaFactory$1.<init>:()V
1: putstatic com.google.protobuf.ManifestSchemaFactory.EMPTY_FACTORY:Lcom/google/protobuf/MessageInfoFactory;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.protobuf.ManifestSchemaFactory.getDefaultMessageInfoFactory:()Lcom/google/protobuf/MessageInfoFactory;
invokespecial com.google.protobuf.ManifestSchemaFactory.<init>:(Lcom/google/protobuf/MessageInfoFactory;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/ManifestSchemaFactory;
private void <init>(com.google.protobuf.MessageInfoFactory);
descriptor: (Lcom/google/protobuf/MessageInfoFactory;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, 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
ldc "messageInfoFactory"
invokestatic com.google.protobuf.Internal.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast com.google.protobuf.MessageInfoFactory
putfield com.google.protobuf.ManifestSchemaFactory.messageInfoFactory:Lcom/google/protobuf/MessageInfoFactory;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/ManifestSchemaFactory;
0 3 1 messageInfoFactory Lcom/google/protobuf/MessageInfoFactory;
MethodParameters:
Name Flags
messageInfoFactory
public <T> com.google.protobuf.Schema<T> createSchema(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lcom/google/protobuf/Schema;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.protobuf.SchemaUtil.requireGeneratedMessage:(Ljava/lang/Class;)V
1: aload 0
getfield com.google.protobuf.ManifestSchemaFactory.messageInfoFactory:Lcom/google/protobuf/MessageInfoFactory;
aload 1
invokeinterface com.google.protobuf.MessageInfoFactory.messageInfoFor:(Ljava/lang/Class;)Lcom/google/protobuf/MessageInfo;
astore 2
start local 2 2: aload 2
invokeinterface com.google.protobuf.MessageInfo.isMessageSetWireFormat:()Z
ifeq 12
3: ldc Lcom/google/protobuf/GeneratedMessageLite;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 8
4: invokestatic com.google.protobuf.SchemaUtil.unknownFieldSetLiteSchema:()Lcom/google/protobuf/UnknownFieldSchema;
5: invokestatic com.google.protobuf.ExtensionSchemas.lite:()Lcom/google/protobuf/ExtensionSchema;
6: aload 2
invokeinterface com.google.protobuf.MessageInfo.getDefaultInstance:()Lcom/google/protobuf/MessageLite;
7: invokestatic com.google.protobuf.MessageSetSchema.newSchema:(Lcom/google/protobuf/UnknownFieldSchema;Lcom/google/protobuf/ExtensionSchema;Lcom/google/protobuf/MessageLite;)Lcom/google/protobuf/MessageSetSchema;
areturn
8: StackMap locals: com.google.protobuf.MessageInfo
StackMap stack:
invokestatic com.google.protobuf.SchemaUtil.proto2UnknownFieldSetSchema:()Lcom/google/protobuf/UnknownFieldSchema;
9: invokestatic com.google.protobuf.ExtensionSchemas.full:()Lcom/google/protobuf/ExtensionSchema;
10: aload 2
invokeinterface com.google.protobuf.MessageInfo.getDefaultInstance:()Lcom/google/protobuf/MessageLite;
11: invokestatic com.google.protobuf.MessageSetSchema.newSchema:(Lcom/google/protobuf/UnknownFieldSchema;Lcom/google/protobuf/ExtensionSchema;Lcom/google/protobuf/MessageLite;)Lcom/google/protobuf/MessageSetSchema;
areturn
12: StackMap locals:
StackMap stack:
aload 1
aload 2
invokestatic com.google.protobuf.ManifestSchemaFactory.newSchema:(Ljava/lang/Class;Lcom/google/protobuf/MessageInfo;)Lcom/google/protobuf/Schema;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/google/protobuf/ManifestSchemaFactory;
0 13 1 messageType Ljava/lang/Class<TT;>;
2 13 2 messageInfo Lcom/google/protobuf/MessageInfo;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Lcom/google/protobuf/Schema<TT;>;
MethodParameters:
Name Flags
messageType
private static <T> com.google.protobuf.Schema<T> newSchema(java.lang.Class<T>, com.google.protobuf.MessageInfo);
descriptor: (Ljava/lang/Class;Lcom/google/protobuf/MessageInfo;)Lcom/google/protobuf/Schema;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: ldc Lcom/google/protobuf/GeneratedMessageLite;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 20
1: aload 1
invokestatic com.google.protobuf.ManifestSchemaFactory.isProto2:(Lcom/google/protobuf/MessageInfo;)Z
ifeq 11
2: aload 0
3: aload 1
4: invokestatic com.google.protobuf.NewInstanceSchemas.lite:()Lcom/google/protobuf/NewInstanceSchema;
5: invokestatic com.google.protobuf.ListFieldSchema.lite:()Lcom/google/protobuf/ListFieldSchema;
6: invokestatic com.google.protobuf.SchemaUtil.unknownFieldSetLiteSchema:()Lcom/google/protobuf/UnknownFieldSchema;
7: invokestatic com.google.protobuf.ExtensionSchemas.lite:()Lcom/google/protobuf/ExtensionSchema;
8: invokestatic com.google.protobuf.MapFieldSchemas.lite:()Lcom/google/protobuf/MapFieldSchema;
9: invokestatic com.google.protobuf.MessageSchema.newSchema:(Ljava/lang/Class;Lcom/google/protobuf/MessageInfo;Lcom/google/protobuf/NewInstanceSchema;Lcom/google/protobuf/ListFieldSchema;Lcom/google/protobuf/UnknownFieldSchema;Lcom/google/protobuf/ExtensionSchema;Lcom/google/protobuf/MapFieldSchema;)Lcom/google/protobuf/MessageSchema;
10: goto 19
11: StackMap locals:
StackMap stack:
aload 0
12: aload 1
13: invokestatic com.google.protobuf.NewInstanceSchemas.lite:()Lcom/google/protobuf/NewInstanceSchema;
14: invokestatic com.google.protobuf.ListFieldSchema.lite:()Lcom/google/protobuf/ListFieldSchema;
15: invokestatic com.google.protobuf.SchemaUtil.unknownFieldSetLiteSchema:()Lcom/google/protobuf/UnknownFieldSchema;
16: aconst_null
17: invokestatic com.google.protobuf.MapFieldSchemas.lite:()Lcom/google/protobuf/MapFieldSchema;
18: invokestatic com.google.protobuf.MessageSchema.newSchema:(Ljava/lang/Class;Lcom/google/protobuf/MessageInfo;Lcom/google/protobuf/NewInstanceSchema;Lcom/google/protobuf/ListFieldSchema;Lcom/google/protobuf/UnknownFieldSchema;Lcom/google/protobuf/ExtensionSchema;Lcom/google/protobuf/MapFieldSchema;)Lcom/google/protobuf/MessageSchema;
19: StackMap locals:
StackMap stack: com.google.protobuf.MessageSchema
areturn
20: StackMap locals:
StackMap stack:
aload 1
invokestatic com.google.protobuf.ManifestSchemaFactory.isProto2:(Lcom/google/protobuf/MessageInfo;)Z
ifeq 30
21: aload 0
22: aload 1
23: invokestatic com.google.protobuf.NewInstanceSchemas.full:()Lcom/google/protobuf/NewInstanceSchema;
24: invokestatic com.google.protobuf.ListFieldSchema.full:()Lcom/google/protobuf/ListFieldSchema;
25: invokestatic com.google.protobuf.SchemaUtil.proto2UnknownFieldSetSchema:()Lcom/google/protobuf/UnknownFieldSchema;
26: invokestatic com.google.protobuf.ExtensionSchemas.full:()Lcom/google/protobuf/ExtensionSchema;
27: invokestatic com.google.protobuf.MapFieldSchemas.full:()Lcom/google/protobuf/MapFieldSchema;
28: invokestatic com.google.protobuf.MessageSchema.newSchema:(Ljava/lang/Class;Lcom/google/protobuf/MessageInfo;Lcom/google/protobuf/NewInstanceSchema;Lcom/google/protobuf/ListFieldSchema;Lcom/google/protobuf/UnknownFieldSchema;Lcom/google/protobuf/ExtensionSchema;Lcom/google/protobuf/MapFieldSchema;)Lcom/google/protobuf/MessageSchema;
29: goto 38
30: StackMap locals:
StackMap stack:
aload 0
31: aload 1
32: invokestatic com.google.protobuf.NewInstanceSchemas.full:()Lcom/google/protobuf/NewInstanceSchema;
33: invokestatic com.google.protobuf.ListFieldSchema.full:()Lcom/google/protobuf/ListFieldSchema;
34: invokestatic com.google.protobuf.SchemaUtil.proto3UnknownFieldSetSchema:()Lcom/google/protobuf/UnknownFieldSchema;
35: aconst_null
36: invokestatic com.google.protobuf.MapFieldSchemas.full:()Lcom/google/protobuf/MapFieldSchema;
37: invokestatic com.google.protobuf.MessageSchema.newSchema:(Ljava/lang/Class;Lcom/google/protobuf/MessageInfo;Lcom/google/protobuf/NewInstanceSchema;Lcom/google/protobuf/ListFieldSchema;Lcom/google/protobuf/UnknownFieldSchema;Lcom/google/protobuf/ExtensionSchema;Lcom/google/protobuf/MapFieldSchema;)Lcom/google/protobuf/MessageSchema;
38: StackMap locals:
StackMap stack: com.google.protobuf.MessageSchema
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 messageType Ljava/lang/Class<TT;>;
0 39 1 messageInfo Lcom/google/protobuf/MessageInfo;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Lcom/google/protobuf/MessageInfo;)Lcom/google/protobuf/Schema<TT;>;
MethodParameters:
Name Flags
messageType
messageInfo
private static boolean isProto2(com.google.protobuf.MessageInfo);
descriptor: (Lcom/google/protobuf/MessageInfo;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface com.google.protobuf.MessageInfo.getSyntax:()Lcom/google/protobuf/ProtoSyntax;
getstatic com.google.protobuf.ProtoSyntax.PROTO2:Lcom/google/protobuf/ProtoSyntax;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 messageInfo Lcom/google/protobuf/MessageInfo;
MethodParameters:
Name Flags
messageInfo
private static com.google.protobuf.MessageInfoFactory getDefaultMessageInfoFactory();
descriptor: ()Lcom/google/protobuf/MessageInfoFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new com.google.protobuf.ManifestSchemaFactory$CompositeMessageInfoFactory
dup
iconst_2
anewarray com.google.protobuf.MessageInfoFactory
dup
iconst_0
1: invokestatic com.google.protobuf.GeneratedMessageInfoFactory.getInstance:()Lcom/google/protobuf/GeneratedMessageInfoFactory;
aastore
dup
iconst_1
invokestatic com.google.protobuf.ManifestSchemaFactory.getDescriptorMessageInfoFactory:()Lcom/google/protobuf/MessageInfoFactory;
2: aastore
invokespecial com.google.protobuf.ManifestSchemaFactory$CompositeMessageInfoFactory.<init>:([Lcom/google/protobuf/MessageInfoFactory;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static com.google.protobuf.MessageInfoFactory getDescriptorMessageInfoFactory();
descriptor: ()Lcom/google/protobuf/MessageInfoFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: ldc "com.google.protobuf.DescriptorMessageInfoFactory"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 0
start local 0 1: aload 0
ldc "getInstance"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
aconst_null
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.protobuf.MessageInfoFactory
2: areturn
end local 0 3: StackMap locals:
StackMap stack: java.lang.Exception
pop
4: getstatic com.google.protobuf.ManifestSchemaFactory.EMPTY_FACTORY:Lcom/google/protobuf/MessageInfoFactory;
areturn
LocalVariableTable:
Start End Slot Name Signature
1 3 0 clazz Ljava/lang/Class<*>;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
}
SourceFile: "ManifestSchemaFactory.java"
NestMembers:
com.google.protobuf.ManifestSchemaFactory$1 com.google.protobuf.ManifestSchemaFactory$CompositeMessageInfoFactory
InnerClasses:
com.google.protobuf.ManifestSchemaFactory$1
private CompositeMessageInfoFactory = com.google.protobuf.ManifestSchemaFactory$CompositeMessageInfoFactory of com.google.protobuf.ManifestSchemaFactory