final class org.bson.codecs.pojo.CreatorExecutable<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.bson.codecs.pojo.CreatorExecutable
super_class: java.lang.Object
{
private final java.lang.Class<T> clazz;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TT;>;
private final java.lang.reflect.Constructor<T> constructor;
descriptor: Ljava/lang/reflect/Constructor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/reflect/Constructor<TT;>;
private final java.lang.reflect.Method method;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.bson.codecs.pojo.annotations.BsonProperty> properties;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/bson/codecs/pojo/annotations/BsonProperty;>;
private final java.lang.Integer idPropertyIndex;
descriptor: Ljava/lang/Integer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<java.lang.Class<?>> parameterTypes;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Class<*>;>;
private final java.util.List<java.lang.reflect.Type> parameterGenericTypes;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/reflect/Type;>;
void <init>(java.lang.Class<T>, java.lang.reflect.Constructor<T>);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Constructor;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial org.bson.codecs.pojo.CreatorExecutable.<init>:(Ljava/lang/Class;Ljava/lang/reflect/Constructor;Ljava/lang/reflect/Method;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/codecs/pojo/CreatorExecutable<TT;>;
0 2 1 clazz Ljava/lang/Class<TT;>;
0 2 2 constructor Ljava/lang/reflect/Constructor<TT;>;
Signature: (Ljava/lang/Class<TT;>;Ljava/lang/reflect/Constructor<TT;>;)V
MethodParameters:
Name Flags
clazz final
constructor final
void <init>(java.lang.Class<T>, java.lang.reflect.Method);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Method;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
invokespecial org.bson.codecs.pojo.CreatorExecutable.<init>:(Ljava/lang/Class;Ljava/lang/reflect/Constructor;Ljava/lang/reflect/Method;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/codecs/pojo/CreatorExecutable<TT;>;
0 2 1 clazz Ljava/lang/Class<TT;>;
0 2 2 method Ljava/lang/reflect/Method;
Signature: (Ljava/lang/Class<TT;>;Ljava/lang/reflect/Method;)V
MethodParameters:
Name Flags
clazz final
method final
private void <init>(java.lang.Class<T>, java.lang.reflect.Constructor<T>, java.lang.reflect.Method);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Constructor;Ljava/lang/reflect/Method;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bson.codecs.pojo.CreatorExecutable.properties:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bson.codecs.pojo.CreatorExecutable.parameterTypes:Ljava/util/List;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bson.codecs.pojo.CreatorExecutable.parameterGenericTypes:Ljava/util/List;
4: aload 0
aload 1
putfield org.bson.codecs.pojo.CreatorExecutable.clazz:Ljava/lang/Class;
5: aload 0
aload 2
putfield org.bson.codecs.pojo.CreatorExecutable.constructor:Ljava/lang/reflect/Constructor;
6: aload 0
aload 3
putfield org.bson.codecs.pojo.CreatorExecutable.method:Ljava/lang/reflect/Method;
7: aconst_null
astore 4
start local 4 8: aload 2
ifnonnull 9
aload 3
ifnull 36
9: StackMap locals: org.bson.codecs.pojo.CreatorExecutable java.lang.Class java.lang.reflect.Constructor java.lang.reflect.Method java.lang.Integer
StackMap stack:
aload 2
ifnull 10
aload 2
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
goto 11
StackMap locals:
StackMap stack:
10: aload 3
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
StackMap locals:
StackMap stack: java.lang.Class[]
11: astore 5
start local 5 12: aload 2
ifnull 13
aload 2
invokevirtual java.lang.reflect.Constructor.getGenericParameterTypes:()[Ljava/lang/reflect/Type;
goto 14
StackMap locals: java.lang.Class[]
StackMap stack:
13: aload 3
invokevirtual java.lang.reflect.Method.getGenericParameterTypes:()[Ljava/lang/reflect/Type;
StackMap locals:
StackMap stack: java.lang.reflect.Type[]
14: astore 6
start local 6 15: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.parameterTypes:Ljava/util/List;
aload 5
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
16: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.parameterGenericTypes:Ljava/util/List;
aload 6
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
17: aload 2
ifnull 18
aload 2
invokevirtual java.lang.reflect.Constructor.getParameterAnnotations:()[[Ljava/lang/annotation/Annotation;
goto 19
18: StackMap locals: java.lang.reflect.Type[]
StackMap stack:
aload 3
invokevirtual java.lang.reflect.Method.getParameterAnnotations:()[[Ljava/lang/annotation/Annotation;
19: StackMap locals:
StackMap stack: java.lang.annotation.Annotation[][]
astore 7
start local 7 20: iconst_0
istore 8
start local 8 21: goto 35
22: StackMap locals: java.lang.annotation.Annotation[][] int
StackMap stack:
aload 7
iload 8
aaload
astore 9
start local 9 23: aload 9
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 33
StackMap locals: org.bson.codecs.pojo.CreatorExecutable java.lang.Class java.lang.reflect.Constructor java.lang.reflect.Method java.lang.Integer java.lang.Class[] java.lang.reflect.Type[] java.lang.annotation.Annotation[][] int java.lang.annotation.Annotation[] top int int java.lang.annotation.Annotation[]
StackMap stack:
24: aload 13
iload 11
aaload
astore 10
start local 10 25: aload 10
invokeinterface java.lang.annotation.Annotation.annotationType:()Ljava/lang/Class;
ldc Lorg/bson/codecs/pojo/annotations/BsonProperty;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 28
26: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.properties:Ljava/util/List;
aload 10
checkcast org.bson.codecs.pojo.annotations.BsonProperty
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
27: goto 34
28: StackMap locals: org.bson.codecs.pojo.CreatorExecutable java.lang.Class java.lang.reflect.Constructor java.lang.reflect.Method java.lang.Integer java.lang.Class[] java.lang.reflect.Type[] java.lang.annotation.Annotation[][] int java.lang.annotation.Annotation[] java.lang.annotation.Annotation int int java.lang.annotation.Annotation[]
StackMap stack:
aload 10
invokeinterface java.lang.annotation.Annotation.annotationType:()Ljava/lang/Class;
ldc Lorg/bson/codecs/pojo/annotations/BsonId;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 32
29: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.properties:Ljava/util/List;
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
30: iload 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 4
31: goto 34
end local 10 32: StackMap locals: org.bson.codecs.pojo.CreatorExecutable java.lang.Class java.lang.reflect.Constructor java.lang.reflect.Method java.lang.Integer java.lang.Class[] java.lang.reflect.Type[] java.lang.annotation.Annotation[][] int java.lang.annotation.Annotation[] top int int java.lang.annotation.Annotation[]
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
33: iload 11
iload 12
if_icmplt 24
end local 9 34: StackMap locals: org.bson.codecs.pojo.CreatorExecutable java.lang.Class java.lang.reflect.Constructor java.lang.reflect.Method java.lang.Integer java.lang.Class[] java.lang.reflect.Type[] java.lang.annotation.Annotation[][] int
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
35: iload 8
aload 7
arraylength
if_icmplt 22
end local 8 end local 7 end local 6 end local 5 36: StackMap locals: org.bson.codecs.pojo.CreatorExecutable java.lang.Class java.lang.reflect.Constructor java.lang.reflect.Method java.lang.Integer
StackMap stack:
aload 0
aload 4
putfield org.bson.codecs.pojo.CreatorExecutable.idPropertyIndex:Ljava/lang/Integer;
37: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lorg/bson/codecs/pojo/CreatorExecutable<TT;>;
0 38 1 clazz Ljava/lang/Class<TT;>;
0 38 2 constructor Ljava/lang/reflect/Constructor<TT;>;
0 38 3 method Ljava/lang/reflect/Method;
8 38 4 idPropertyIndex Ljava/lang/Integer;
12 36 5 paramTypes [Ljava/lang/Class;
15 36 6 genericParamTypes [Ljava/lang/reflect/Type;
20 36 7 parameterAnnotations [[Ljava/lang/annotation/Annotation;
21 36 8 i I
23 34 9 parameterAnnotation [Ljava/lang/annotation/Annotation;
25 32 10 annotation Ljava/lang/annotation/Annotation;
Signature: (Ljava/lang/Class<TT;>;Ljava/lang/reflect/Constructor<TT;>;Ljava/lang/reflect/Method;)V
MethodParameters:
Name Flags
clazz final
constructor final
method final
java.lang.Class<T> getType();
descriptor: ()Ljava/lang/Class;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.clazz:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/pojo/CreatorExecutable<TT;>;
Signature: ()Ljava/lang/Class<TT;>;
java.util.List<org.bson.codecs.pojo.annotations.BsonProperty> getProperties();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.properties:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/pojo/CreatorExecutable<TT;>;
Signature: ()Ljava/util/List<Lorg/bson/codecs/pojo/annotations/BsonProperty;>;
java.lang.Integer getIdPropertyIndex();
descriptor: ()Ljava/lang/Integer;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.idPropertyIndex:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/pojo/CreatorExecutable<TT;>;
java.util.List<java.lang.Class<?>> getParameterTypes();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.parameterTypes:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/pojo/CreatorExecutable<TT;>;
Signature: ()Ljava/util/List<Ljava/lang/Class<*>;>;
java.util.List<java.lang.reflect.Type> getParameterGenericTypes();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.parameterGenericTypes:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/pojo/CreatorExecutable<TT;>;
Signature: ()Ljava/util/List<Ljava/lang/reflect/Type;>;
T getInstance();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.bson.codecs.pojo.CreatorExecutable.checkHasAnExecutable:()V
1: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.constructor:Ljava/lang/reflect/Constructor;
ifnull 4
2: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.constructor:Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
3: areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.method:Ljava/lang/reflect/Method;
aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.clazz:Ljava/lang/Class;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 7: new org.bson.codecs.configuration.CodecConfigurationException
dup
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 1
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bson/codecs/pojo/CreatorExecutable<TT;>;
7 8 1 e Ljava/lang/Exception;
Exception table:
from to target type
1 3 6 Class java.lang.Exception
4 5 6 Class java.lang.Exception
Signature: ()TT;
T getInstance([]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bson.codecs.pojo.CreatorExecutable.checkHasAnExecutable:()V
1: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.constructor:Ljava/lang/reflect/Constructor;
ifnull 4
2: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.constructor:Ljava/lang/reflect/Constructor;
aload 1
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
3: areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.method:Ljava/lang/reflect/Method;
aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.clazz:Ljava/lang/Class;
aload 1
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 7: new org.bson.codecs.configuration.CodecConfigurationException
dup
aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 2
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bson/codecs/pojo/CreatorExecutable<TT;>;
0 8 1 params [Ljava/lang/Object;
7 8 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 3 6 Class java.lang.Exception
4 5 6 Class java.lang.Exception
Signature: ([Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
params final
org.bson.codecs.configuration.CodecConfigurationException getError(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Lorg/bson/codecs/configuration/CodecConfigurationException;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.constructor:Ljava/lang/reflect/Constructor;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack: java.lang.Class
1: iconst_0
StackMap locals: org.bson.codecs.pojo.CreatorExecutable java.lang.Class java.lang.String
StackMap stack: java.lang.Class int
2: aload 2
invokestatic org.bson.codecs.pojo.CreatorExecutable.getError:(Ljava/lang/Class;ZLjava/lang/String;)Lorg/bson/codecs/configuration/CodecConfigurationException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/codecs/pojo/CreatorExecutable<TT;>;
0 3 1 clazz Ljava/lang/Class<*>;
0 3 2 msg Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Lorg/bson/codecs/configuration/CodecConfigurationException;
MethodParameters:
Name Flags
clazz final
msg final
private void checkHasAnExecutable();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.constructor:Ljava/lang/reflect/Constructor;
ifnonnull 2
aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.method:Ljava/lang/reflect/Method;
ifnonnull 2
1: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Cannot find a public constructor for '%s'."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.bson.codecs.pojo.CreatorExecutable.clazz:Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/codecs/pojo/CreatorExecutable<TT;>;
private static org.bson.codecs.configuration.CodecConfigurationException getError(java.lang.Class<?>, boolean, java.lang.String);
descriptor: (Ljava/lang/Class;ZLjava/lang/String;)Lorg/bson/codecs/configuration/CodecConfigurationException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid @BsonCreator %s in %s. %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
iload 1
ifeq 1
ldc "constructor"
goto 2
StackMap locals: java.lang.Class int java.lang.String
StackMap stack: new 0 new 0 java.lang.String java.lang.Object[] java.lang.Object[] int
1: ldc "method"
StackMap locals: java.lang.Class int java.lang.String
StackMap stack: new 0 new 0 java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
2: aastore
dup
iconst_1
3: aload 0
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_2
aload 2
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 clazz Ljava/lang/Class<*>;
0 5 1 isConstructor Z
0 5 2 msg Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;ZLjava/lang/String;)Lorg/bson/codecs/configuration/CodecConfigurationException;
MethodParameters:
Name Flags
clazz final
isConstructor final
msg final
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "CreatorExecutable.java"