final class org.bson.codecs.pojo.PojoBuilderHelper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.bson.codecs.pojo.PojoBuilderHelper
super_class: java.lang.Object
{
static <T> void configureClassModelBuilder(org.bson.codecs.pojo.ClassModelBuilder<T>, java.lang.Class<T>);
descriptor: (Lorg/bson/codecs/pojo/ClassModelBuilder;Ljava/lang/Class;)V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=20, args_size=2
start local 0 start local 1 0: aload 0
ldc "clazz"
aload 1
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.type:(Ljava/lang/Class;)Lorg/bson/codecs/pojo/ClassModelBuilder;
pop
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
astore 3
start local 3 3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 4: aload 1
astore 5
start local 5 5: aload 1
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
astore 6
start local 6 6: aconst_null
astore 7
start local 7 7: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 8
start local 8 8: goto 71
9: StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map
StackMap stack:
aload 2
aload 5
invokevirtual java.lang.Class.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
10: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 9
start local 9 11: aload 5
invokevirtual java.lang.Class.getTypeParameters:()[Ljava/lang/reflect/TypeVariable;
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 15
StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.util.List top int int java.lang.reflect.TypeVariable[]
StackMap stack:
12: aload 13
iload 11
aaload
astore 10
start local 10 13: aload 9
aload 10
invokeinterface java.lang.reflect.TypeVariable.getName:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 14: iinc 11 1
StackMap locals:
StackMap stack:
15: iload 11
iload 12
if_icmplt 12
16: aload 5
invokestatic org.bson.codecs.pojo.PropertyReflectionUtils.getPropertyMethods:(Ljava/lang/Class;)Lorg/bson/codecs/pojo/PropertyReflectionUtils$PropertyMethods;
astore 10
start local 10 17: aload 10
invokevirtual org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods.getSetterMethods:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 12
goto 32
StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.util.List org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods top java.util.Iterator
StackMap stack:
18: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.reflect.Method
astore 11
start local 11 19: aload 11
invokestatic org.bson.codecs.pojo.PropertyReflectionUtils.toPropertyName:(Ljava/lang/reflect/Method;)Ljava/lang/String;
astore 13
start local 13 20: aload 3
aload 13
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
21: aload 13
aload 6
aload 8
22: aload 11
invokestatic org.bson.codecs.pojo.TypeData.newInstance:(Ljava/lang/reflect/Method;)Lorg/bson/codecs/pojo/TypeData;
aload 4
aload 7
aload 9
23: aload 11
invokestatic org.bson.codecs.pojo.PojoBuilderHelper.getGenericType:(Ljava/lang/reflect/Method;)Ljava/lang/reflect/Type;
24: invokestatic org.bson.codecs.pojo.PojoBuilderHelper.getOrCreateMethodPropertyMetadata:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;Ljava/util/List;Ljava/lang/reflect/Type;)Lorg/bson/codecs/pojo/PropertyMetadata;
astore 14
start local 14 25: aload 14
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getSetter:()Ljava/lang/reflect/Method;
ifnonnull 32
26: aload 14
aload 11
invokevirtual org.bson.codecs.pojo.PropertyMetadata.setSetter:(Ljava/lang/reflect/Method;)V
27: aload 11
invokevirtual java.lang.reflect.Method.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
dup
astore 18
arraylength
istore 17
iconst_0
istore 16
goto 31
StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.util.List org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods java.lang.reflect.Method java.util.Iterator java.lang.String org.bson.codecs.pojo.PropertyMetadata top int int java.lang.annotation.Annotation[]
StackMap stack:
28: aload 18
iload 16
aaload
astore 15
start local 15 29: aload 14
aload 15
invokevirtual org.bson.codecs.pojo.PropertyMetadata.addWriteAnnotation:(Ljava/lang/annotation/Annotation;)Lorg/bson/codecs/pojo/PropertyMetadata;
pop
end local 15 30: iinc 16 1
StackMap locals:
StackMap stack:
31: iload 16
iload 17
if_icmplt 28
end local 14 end local 13 end local 11 32: StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.util.List org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods top java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
33: aload 10
invokevirtual org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods.getGetterMethods:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 12
goto 51
StackMap locals:
StackMap stack:
34: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.reflect.Method
astore 11
start local 11 35: aload 11
invokestatic org.bson.codecs.pojo.PropertyReflectionUtils.toPropertyName:(Ljava/lang/reflect/Method;)Ljava/lang/String;
astore 13
start local 13 36: aload 3
aload 13
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
37: aload 8
aload 13
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.codecs.pojo.PropertyMetadata
astore 14
start local 14 38: aload 14
ifnull 40
aload 14
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getGetter:()Ljava/lang/reflect/Method;
ifnull 40
39: goto 51
40: StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.util.List org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods java.lang.reflect.Method java.util.Iterator java.lang.String org.bson.codecs.pojo.PropertyMetadata
StackMap stack:
aload 13
aload 6
aload 8
41: aload 11
invokestatic org.bson.codecs.pojo.TypeData.newInstance:(Ljava/lang/reflect/Method;)Lorg/bson/codecs/pojo/TypeData;
aload 4
aload 7
aload 9
42: aload 11
invokestatic org.bson.codecs.pojo.PojoBuilderHelper.getGenericType:(Ljava/lang/reflect/Method;)Ljava/lang/reflect/Type;
43: invokestatic org.bson.codecs.pojo.PojoBuilderHelper.getOrCreateMethodPropertyMetadata:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;Ljava/util/List;Ljava/lang/reflect/Type;)Lorg/bson/codecs/pojo/PropertyMetadata;
astore 14
44: aload 14
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getGetter:()Ljava/lang/reflect/Method;
ifnonnull 51
45: aload 14
aload 11
invokevirtual org.bson.codecs.pojo.PropertyMetadata.setGetter:(Ljava/lang/reflect/Method;)V
46: aload 11
invokevirtual java.lang.reflect.Method.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
dup
astore 18
arraylength
istore 17
iconst_0
istore 16
goto 50
StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.util.List org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods java.lang.reflect.Method java.util.Iterator java.lang.String org.bson.codecs.pojo.PropertyMetadata top int int java.lang.annotation.Annotation[]
StackMap stack:
47: aload 18
iload 16
aaload
astore 15
start local 15 48: aload 14
aload 15
invokevirtual org.bson.codecs.pojo.PropertyMetadata.addReadAnnotation:(Ljava/lang/annotation/Annotation;)Lorg/bson/codecs/pojo/PropertyMetadata;
pop
end local 15 49: iinc 16 1
StackMap locals:
StackMap stack:
50: iload 16
iload 17
if_icmplt 47
end local 14 end local 13 end local 11 51: StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.util.List org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods top java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 34
52: aload 5
invokevirtual java.lang.Class.getDeclaredFields:()[Ljava/lang/reflect/Field;
dup
astore 14
arraylength
istore 13
iconst_0
istore 12
goto 68
StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.util.List org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods top int int java.lang.reflect.Field[]
StackMap stack:
53: aload 14
iload 12
aaload
astore 11
start local 11 54: aload 3
aload 11
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
55: aload 11
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
aload 6
56: aload 8
aload 11
invokestatic org.bson.codecs.pojo.TypeData.newInstance:(Ljava/lang/reflect/Field;)Lorg/bson/codecs/pojo/TypeData;
aload 4
aload 7
aload 9
57: aload 11
invokevirtual java.lang.reflect.Field.getGenericType:()Ljava/lang/reflect/Type;
58: invokestatic org.bson.codecs.pojo.PojoBuilderHelper.getOrCreateFieldPropertyMetadata:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;Ljava/util/List;Ljava/lang/reflect/Type;)Lorg/bson/codecs/pojo/PropertyMetadata;
astore 15
start local 15 59: aload 15
ifnull 67
aload 15
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getField:()Ljava/lang/reflect/Field;
ifnonnull 67
60: aload 15
aload 11
invokevirtual org.bson.codecs.pojo.PropertyMetadata.field:(Ljava/lang/reflect/Field;)Lorg/bson/codecs/pojo/PropertyMetadata;
pop
61: aload 11
invokevirtual java.lang.reflect.Field.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
dup
astore 19
arraylength
istore 18
iconst_0
istore 17
goto 66
StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.util.List org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods java.lang.reflect.Field int int java.lang.reflect.Field[] org.bson.codecs.pojo.PropertyMetadata top int int java.lang.annotation.Annotation[]
StackMap stack:
62: aload 19
iload 17
aaload
astore 16
start local 16 63: aload 15
aload 16
invokevirtual org.bson.codecs.pojo.PropertyMetadata.addReadAnnotation:(Ljava/lang/annotation/Annotation;)Lorg/bson/codecs/pojo/PropertyMetadata;
pop
64: aload 15
aload 16
invokevirtual org.bson.codecs.pojo.PropertyMetadata.addWriteAnnotation:(Ljava/lang/annotation/Annotation;)Lorg/bson/codecs/pojo/PropertyMetadata;
pop
end local 16 65: iinc 17 1
StackMap locals:
StackMap stack:
66: iload 17
iload 18
if_icmplt 62
end local 15 end local 11 67: StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.util.List org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods top int int java.lang.reflect.Field[]
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
68: iload 12
iload 13
if_icmplt 53
69: aload 5
invokevirtual java.lang.Class.getGenericSuperclass:()Ljava/lang/reflect/Type;
aload 5
invokestatic org.bson.codecs.pojo.TypeData.newInstance:(Ljava/lang/reflect/Type;Ljava/lang/Class;)Lorg/bson/codecs/pojo/TypeData;
astore 7
70: aload 5
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 5
end local 10 end local 9 71: StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map
StackMap stack:
aload 5
invokevirtual java.lang.Class.isEnum:()Z
ifne 72
aload 5
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
ifnonnull 9
72: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.Class.isInterface:()Z
ifeq 74
73: aload 2
aload 5
invokevirtual java.lang.Class.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
74: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 79
StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map top java.util.Iterator
StackMap stack:
75: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 76: aload 8
aload 9
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.codecs.pojo.PropertyMetadata
astore 11
start local 11 77: aload 11
invokevirtual org.bson.codecs.pojo.PropertyMetadata.isSerializable:()Z
ifne 78
aload 11
invokevirtual org.bson.codecs.pojo.PropertyMetadata.isDeserializable:()Z
ifeq 79
78: StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.lang.String java.util.Iterator org.bson.codecs.pojo.PropertyMetadata
StackMap stack:
aload 0
aload 11
invokestatic org.bson.codecs.pojo.PojoBuilderHelper.createPropertyModelBuilder:(Lorg/bson/codecs/pojo/PropertyMetadata;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.addProperty:(Lorg/bson/codecs/pojo/PropertyModelBuilder;)Lorg/bson/codecs/pojo/ClassModelBuilder;
pop
end local 11 end local 9 79: StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 75
80: aload 2
invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
81: aload 0
aload 2
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.annotations:(Ljava/util/List;)Lorg/bson/codecs/pojo/ClassModelBuilder;
pop
82: aload 0
aload 4
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.propertyNameToTypeParameterMap:(Ljava/util/Map;)Lorg/bson/codecs/pojo/ClassModelBuilder;
pop
83: aconst_null
astore 9
start local 9 84: aload 1
invokevirtual java.lang.Class.getDeclaredConstructors:()[Ljava/lang/reflect/Constructor;
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 91
StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.lang.reflect.Constructor top int int java.lang.reflect.Constructor[]
StackMap stack:
85: aload 13
iload 11
aaload
astore 10
start local 10 86: aload 10
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
arraylength
ifne 90
87: aload 10
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 88
aload 10
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isProtected:(I)Z
ifeq 90
88: StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.lang.reflect.Constructor java.lang.reflect.Constructor int int java.lang.reflect.Constructor[]
StackMap stack:
aload 10
astore 9
89: aload 9
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
end local 10 90: StackMap locals: org.bson.codecs.pojo.ClassModelBuilder java.lang.Class java.util.ArrayList java.util.Set java.util.Map java.lang.Class java.lang.String org.bson.codecs.pojo.TypeData java.util.Map java.lang.reflect.Constructor top int int java.lang.reflect.Constructor[]
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
91: iload 11
iload 12
if_icmplt 85
92: aload 0
new org.bson.codecs.pojo.InstanceCreatorFactoryImpl
dup
new org.bson.codecs.pojo.CreatorExecutable
dup
aload 1
aload 9
invokespecial org.bson.codecs.pojo.CreatorExecutable.<init>:(Ljava/lang/Class;Ljava/lang/reflect/Constructor;)V
invokespecial org.bson.codecs.pojo.InstanceCreatorFactoryImpl.<init>:(Lorg/bson/codecs/pojo/CreatorExecutable;)V
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.instanceCreatorFactory:(Lorg/bson/codecs/pojo/InstanceCreatorFactory;)Lorg/bson/codecs/pojo/ClassModelBuilder;
pop
93: return
end local 9 end local 8 end local 7 end local 6 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 94 0 classModelBuilder Lorg/bson/codecs/pojo/ClassModelBuilder<TT;>;
0 94 1 clazz Ljava/lang/Class<TT;>;
2 94 2 annotations Ljava/util/ArrayList<Ljava/lang/annotation/Annotation;>;
3 94 3 propertyNames Ljava/util/Set<Ljava/lang/String;>;
4 94 4 propertyTypeParameterMap Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/TypeParameterMap;>;
5 94 5 currentClass Ljava/lang/Class<-TT;>;
6 94 6 declaringClassName Ljava/lang/String;
7 94 7 parentClassTypeData Lorg/bson/codecs/pojo/TypeData<*>;
8 94 8 propertyNameMap Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/PropertyMetadata<*>;>;
11 71 9 genericTypeNames Ljava/util/List<Ljava/lang/String;>;
13 14 10 classTypeVariable Ljava/lang/reflect/TypeVariable<+Ljava/lang/Class<-TT;>;>;
17 71 10 propertyMethods Lorg/bson/codecs/pojo/PropertyReflectionUtils$PropertyMethods;
19 32 11 method Ljava/lang/reflect/Method;
20 32 13 propertyName Ljava/lang/String;
25 32 14 propertyMetadata Lorg/bson/codecs/pojo/PropertyMetadata<*>;
29 30 15 annotation Ljava/lang/annotation/Annotation;
35 51 11 method Ljava/lang/reflect/Method;
36 51 13 propertyName Ljava/lang/String;
38 51 14 propertyMetadata Lorg/bson/codecs/pojo/PropertyMetadata<*>;
48 49 15 annotation Ljava/lang/annotation/Annotation;
54 67 11 field Ljava/lang/reflect/Field;
59 67 15 propertyMetadata Lorg/bson/codecs/pojo/PropertyMetadata<*>;
63 65 16 annotation Ljava/lang/annotation/Annotation;
76 79 9 propertyName Ljava/lang/String;
77 79 11 propertyMetadata Lorg/bson/codecs/pojo/PropertyMetadata<*>;
84 94 9 noArgsConstructor Ljava/lang/reflect/Constructor<TT;>;
86 90 10 constructor Ljava/lang/reflect/Constructor<*>;
Signature: <T:Ljava/lang/Object;>(Lorg/bson/codecs/pojo/ClassModelBuilder<TT;>;Ljava/lang/Class<TT;>;)V
MethodParameters:
Name Flags
classModelBuilder final
clazz final
private static <T, S> org.bson.codecs.pojo.PropertyMetadata<T> getOrCreateMethodPropertyMetadata(java.lang.String, java.lang.String, java.util.Map<java.lang.String, org.bson.codecs.pojo.PropertyMetadata<?>>, org.bson.codecs.pojo.TypeData<T>, java.util.Map<java.lang.String, org.bson.codecs.pojo.TypeParameterMap>, org.bson.codecs.pojo.TypeData<S>, java.util.List<java.lang.String>, java.lang.reflect.Type);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;Ljava/util/List;Ljava/lang/reflect/Type;)Lorg/bson/codecs/pojo/PropertyMetadata;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
aload 3
invokestatic org.bson.codecs.pojo.PojoBuilderHelper.getOrCreatePropertyMetadata:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;)Lorg/bson/codecs/pojo/PropertyMetadata;
astore 8
start local 8 1: aload 8
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getTypeData:()Lorg/bson/codecs/pojo/TypeData;
invokevirtual org.bson.codecs.pojo.TypeData.getType:()Ljava/lang/Class;
aload 3
invokevirtual org.bson.codecs.pojo.TypeData.getType:()Ljava/lang/Class;
invokestatic org.bson.codecs.pojo.PojoBuilderHelper.isAssignableClass:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 5
2: aload 8
ldc "Property '%s' in %s, has differing data types: %s and %s."
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
3: aload 1
aastore
dup
iconst_2
aload 8
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getTypeData:()Lorg/bson/codecs/pojo/TypeData;
aastore
dup
iconst_3
aload 3
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.bson.codecs.pojo.PropertyMetadata.setError:(Ljava/lang/String;)V
5: StackMap locals: org.bson.codecs.pojo.PropertyMetadata
StackMap stack:
aload 8
aload 4
aload 5
aload 6
aload 7
invokestatic org.bson.codecs.pojo.PojoBuilderHelper.cachePropertyTypeData:(Lorg/bson/codecs/pojo/PropertyMetadata;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;Ljava/util/List;Ljava/lang/reflect/Type;)V
6: aload 8
areturn
end local 8 end local 7 end local 6 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 7 0 propertyName Ljava/lang/String;
0 7 1 declaringClassName Ljava/lang/String;
0 7 2 propertyNameMap Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/PropertyMetadata<*>;>;
0 7 3 typeData Lorg/bson/codecs/pojo/TypeData<TT;>;
0 7 4 propertyTypeParameterMap Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/TypeParameterMap;>;
0 7 5 parentClassTypeData Lorg/bson/codecs/pojo/TypeData<TS;>;
0 7 6 genericTypeNames Ljava/util/List<Ljava/lang/String;>;
0 7 7 genericType Ljava/lang/reflect/Type;
1 7 8 propertyMetadata Lorg/bson/codecs/pojo/PropertyMetadata<TT;>;
Signature: <T:Ljava/lang/Object;S:Ljava/lang/Object;>(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/PropertyMetadata<*>;>;Lorg/bson/codecs/pojo/TypeData<TT;>;Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/TypeParameterMap;>;Lorg/bson/codecs/pojo/TypeData<TS;>;Ljava/util/List<Ljava/lang/String;>;Ljava/lang/reflect/Type;)Lorg/bson/codecs/pojo/PropertyMetadata<TT;>;
MethodParameters:
Name Flags
propertyName final
declaringClassName final
propertyNameMap final
typeData final
propertyTypeParameterMap final
parentClassTypeData final
genericTypeNames final
genericType final
private static boolean isAssignableClass(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 1
aload 1
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 propertyTypeClass Ljava/lang/Class<*>;
0 2 1 typeDataClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
propertyTypeClass final
typeDataClass final
private static <T, S> org.bson.codecs.pojo.PropertyMetadata<T> getOrCreateFieldPropertyMetadata(java.lang.String, java.lang.String, java.util.Map<java.lang.String, org.bson.codecs.pojo.PropertyMetadata<?>>, org.bson.codecs.pojo.TypeData<T>, java.util.Map<java.lang.String, org.bson.codecs.pojo.TypeParameterMap>, org.bson.codecs.pojo.TypeData<S>, java.util.List<java.lang.String>, java.lang.reflect.Type);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;Ljava/util/List;Ljava/lang/reflect/Type;)Lorg/bson/codecs/pojo/PropertyMetadata;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
aload 3
invokestatic org.bson.codecs.pojo.PojoBuilderHelper.getOrCreatePropertyMetadata:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;)Lorg/bson/codecs/pojo/PropertyMetadata;
astore 8
start local 8 1: aload 8
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getTypeData:()Lorg/bson/codecs/pojo/TypeData;
invokevirtual org.bson.codecs.pojo.TypeData.getType:()Ljava/lang/Class;
aload 3
invokevirtual org.bson.codecs.pojo.TypeData.getType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 3
2: aconst_null
areturn
3: StackMap locals: org.bson.codecs.pojo.PropertyMetadata
StackMap stack:
aload 8
aload 4
aload 5
aload 6
aload 7
invokestatic org.bson.codecs.pojo.PojoBuilderHelper.cachePropertyTypeData:(Lorg/bson/codecs/pojo/PropertyMetadata;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;Ljava/util/List;Ljava/lang/reflect/Type;)V
4: aload 8
areturn
end local 8 end local 7 end local 6 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 5 0 propertyName Ljava/lang/String;
0 5 1 declaringClassName Ljava/lang/String;
0 5 2 propertyNameMap Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/PropertyMetadata<*>;>;
0 5 3 typeData Lorg/bson/codecs/pojo/TypeData<TT;>;
0 5 4 propertyTypeParameterMap Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/TypeParameterMap;>;
0 5 5 parentClassTypeData Lorg/bson/codecs/pojo/TypeData<TS;>;
0 5 6 genericTypeNames Ljava/util/List<Ljava/lang/String;>;
0 5 7 genericType Ljava/lang/reflect/Type;
1 5 8 propertyMetadata Lorg/bson/codecs/pojo/PropertyMetadata<TT;>;
Signature: <T:Ljava/lang/Object;S:Ljava/lang/Object;>(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/PropertyMetadata<*>;>;Lorg/bson/codecs/pojo/TypeData<TT;>;Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/TypeParameterMap;>;Lorg/bson/codecs/pojo/TypeData<TS;>;Ljava/util/List<Ljava/lang/String;>;Ljava/lang/reflect/Type;)Lorg/bson/codecs/pojo/PropertyMetadata<TT;>;
MethodParameters:
Name Flags
propertyName final
declaringClassName final
propertyNameMap final
typeData final
propertyTypeParameterMap final
parentClassTypeData final
genericTypeNames final
genericType final
private static <T> org.bson.codecs.pojo.PropertyMetadata<T> getOrCreatePropertyMetadata(java.lang.String, java.lang.String, java.util.Map<java.lang.String, org.bson.codecs.pojo.PropertyMetadata<?>>, org.bson.codecs.pojo.TypeData<T>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;)Lorg/bson/codecs/pojo/PropertyMetadata;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.codecs.pojo.PropertyMetadata
astore 4
start local 4 1: aload 4
ifnonnull 4
2: new org.bson.codecs.pojo.PropertyMetadata
dup
aload 0
aload 1
aload 3
invokespecial org.bson.codecs.pojo.PropertyMetadata.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/bson/codecs/pojo/TypeData;)V
astore 4
3: aload 2
aload 0
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: org.bson.codecs.pojo.PropertyMetadata
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 propertyName Ljava/lang/String;
0 5 1 declaringClassName Ljava/lang/String;
0 5 2 propertyNameMap Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/PropertyMetadata<*>;>;
0 5 3 typeData Lorg/bson/codecs/pojo/TypeData<TT;>;
1 5 4 propertyMetadata Lorg/bson/codecs/pojo/PropertyMetadata<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/PropertyMetadata<*>;>;Lorg/bson/codecs/pojo/TypeData<TT;>;)Lorg/bson/codecs/pojo/PropertyMetadata<TT;>;
MethodParameters:
Name Flags
propertyName final
declaringClassName final
propertyNameMap final
typeData final
private static <T, S> void cachePropertyTypeData(org.bson.codecs.pojo.PropertyMetadata<T>, java.util.Map<java.lang.String, org.bson.codecs.pojo.TypeParameterMap>, org.bson.codecs.pojo.TypeData<S>, java.util.List<java.lang.String>, java.lang.reflect.Type);
descriptor: (Lorg/bson/codecs/pojo/PropertyMetadata;Ljava/util/Map;Lorg/bson/codecs/pojo/TypeData;Ljava/util/List;Ljava/lang/reflect/Type;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
aload 4
invokestatic org.bson.codecs.pojo.PojoBuilderHelper.getTypeParameterMap:(Ljava/util/List;Ljava/lang/reflect/Type;)Lorg/bson/codecs/pojo/TypeParameterMap;
astore 5
start local 5 1: aload 1
aload 0
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getName:()Ljava/lang/String;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 5
aload 2
invokevirtual org.bson.codecs.pojo.PropertyMetadata.typeParameterInfo:(Lorg/bson/codecs/pojo/TypeParameterMap;Lorg/bson/codecs/pojo/TypeData;)Lorg/bson/codecs/pojo/PropertyMetadata;
pop
3: 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 4 0 propertyMetadata Lorg/bson/codecs/pojo/PropertyMetadata<TT;>;
0 4 1 propertyTypeParameterMap Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/TypeParameterMap;>;
0 4 2 parentClassTypeData Lorg/bson/codecs/pojo/TypeData<TS;>;
0 4 3 genericTypeNames Ljava/util/List<Ljava/lang/String;>;
0 4 4 genericType Ljava/lang/reflect/Type;
1 4 5 typeParameterMap Lorg/bson/codecs/pojo/TypeParameterMap;
Signature: <T:Ljava/lang/Object;S:Ljava/lang/Object;>(Lorg/bson/codecs/pojo/PropertyMetadata<TT;>;Ljava/util/Map<Ljava/lang/String;Lorg/bson/codecs/pojo/TypeParameterMap;>;Lorg/bson/codecs/pojo/TypeData<TS;>;Ljava/util/List<Ljava/lang/String;>;Ljava/lang/reflect/Type;)V
MethodParameters:
Name Flags
propertyMetadata final
propertyTypeParameterMap final
parentClassTypeData final
genericTypeNames final
genericType final
private static java.lang.reflect.Type getGenericType(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/reflect/Type;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.bson.codecs.pojo.PropertyReflectionUtils.isGetter:(Ljava/lang/reflect/Method;)Z
ifeq 1
aload 0
invokevirtual java.lang.reflect.Method.getGenericReturnType:()Ljava/lang/reflect/Type;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual java.lang.reflect.Method.getGenericParameterTypes:()[Ljava/lang/reflect/Type;
iconst_0
aaload
StackMap locals:
StackMap stack: java.lang.reflect.Type
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 method Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
method final
static <T> org.bson.codecs.pojo.PropertyModelBuilder<T> createPropertyModelBuilder(org.bson.codecs.pojo.PropertyMetadata<T>);
descriptor: (Lorg/bson/codecs/pojo/PropertyMetadata;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic org.bson.codecs.pojo.PropertyModel.builder:()Lorg/bson/codecs/pojo/PropertyModelBuilder;
1: aload 0
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getName:()Ljava/lang/String;
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.propertyName:(Ljava/lang/String;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
2: aload 0
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getName:()Ljava/lang/String;
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.readName:(Ljava/lang/String;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
3: aload 0
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getName:()Ljava/lang/String;
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.writeName:(Ljava/lang/String;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
4: aload 0
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getTypeData:()Lorg/bson/codecs/pojo/TypeData;
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.typeData:(Lorg/bson/codecs/pojo/TypeData;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
5: aload 0
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getReadAnnotations:()Ljava/util/List;
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.readAnnotations:(Ljava/util/List;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
6: aload 0
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getWriteAnnotations:()Ljava/util/List;
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.writeAnnotations:(Ljava/util/List;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
7: new org.bson.codecs.pojo.PropertyModelSerializationImpl
dup
invokespecial org.bson.codecs.pojo.PropertyModelSerializationImpl.<init>:()V
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.propertySerialization:(Lorg/bson/codecs/pojo/PropertySerialization;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
8: new org.bson.codecs.pojo.PropertyAccessorImpl
dup
aload 0
invokespecial org.bson.codecs.pojo.PropertyAccessorImpl.<init>:(Lorg/bson/codecs/pojo/PropertyMetadata;)V
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.propertyAccessor:(Lorg/bson/codecs/pojo/PropertyAccessor;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
9: aload 0
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getError:()Ljava/lang/String;
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.setError:(Ljava/lang/String;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
10: astore 1
start local 1 11: aload 0
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getTypeParameters:()Ljava/util/List;
ifnull 13
12: aload 1
aload 0
invokestatic org.bson.codecs.pojo.PojoBuilderHelper.specializePropertyModelBuilder:(Lorg/bson/codecs/pojo/PropertyModelBuilder;Lorg/bson/codecs/pojo/PropertyMetadata;)V
13: StackMap locals: org.bson.codecs.pojo.PropertyModelBuilder
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 propertyMetadata Lorg/bson/codecs/pojo/PropertyMetadata<TT;>;
11 14 1 propertyModelBuilder Lorg/bson/codecs/pojo/PropertyModelBuilder<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/bson/codecs/pojo/PropertyMetadata<TT;>;)Lorg/bson/codecs/pojo/PropertyModelBuilder<TT;>;
MethodParameters:
Name Flags
propertyMetadata final
private static org.bson.codecs.pojo.TypeParameterMap getTypeParameterMap(java.util.List<java.lang.String>, java.lang.reflect.Type);
descriptor: (Ljava/util/List;Ljava/lang/reflect/Type;)Lorg/bson/codecs/pojo/TypeParameterMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
istore 2
start local 2 1: invokestatic org.bson.codecs.pojo.TypeParameterMap.builder:()Lorg/bson/codecs/pojo/TypeParameterMap$Builder;
astore 3
start local 3 2: iload 2
iconst_m1
if_icmpeq 5
3: aload 3
iload 2
invokevirtual org.bson.codecs.pojo.TypeParameterMap$Builder.addIndex:(I)Lorg/bson/codecs/pojo/TypeParameterMap$Builder;
pop
4: goto 14
5: StackMap locals: int org.bson.codecs.pojo.TypeParameterMap$Builder
StackMap stack:
aload 1
instanceof java.lang.reflect.ParameterizedType
ifeq 14
6: aload 1
checkcast java.lang.reflect.ParameterizedType
astore 4
start local 4 7: iconst_0
istore 5
start local 5 8: goto 13
9: StackMap locals: java.lang.reflect.ParameterizedType int
StackMap stack:
aload 0
aload 4
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
iload 5
aaload
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
istore 2
10: iload 2
iconst_m1
if_icmpeq 12
11: aload 3
iload 5
iload 2
invokevirtual org.bson.codecs.pojo.TypeParameterMap$Builder.addIndex:(II)Lorg/bson/codecs/pojo/TypeParameterMap$Builder;
pop
12: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
aload 4
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
arraylength
if_icmplt 9
end local 5 end local 4 14: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.bson.codecs.pojo.TypeParameterMap$Builder.build:()Lorg/bson/codecs/pojo/TypeParameterMap;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 genericTypeNames Ljava/util/List<Ljava/lang/String;>;
0 15 1 propertyType Ljava/lang/reflect/Type;
1 15 2 classParamIndex I
2 15 3 builder Lorg/bson/codecs/pojo/TypeParameterMap$Builder;
7 14 4 pt Ljava/lang/reflect/ParameterizedType;
8 14 5 i I
Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/lang/reflect/Type;)Lorg/bson/codecs/pojo/TypeParameterMap;
MethodParameters:
Name Flags
genericTypeNames final
propertyType final
private static <V> void specializePropertyModelBuilder(org.bson.codecs.pojo.PropertyModelBuilder<V>, org.bson.codecs.pojo.PropertyMetadata<V>);
descriptor: (Lorg/bson/codecs/pojo/PropertyModelBuilder;Lorg/bson/codecs/pojo/PropertyMetadata;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getTypeParameterMap:()Lorg/bson/codecs/pojo/TypeParameterMap;
invokevirtual org.bson.codecs.pojo.TypeParameterMap.hasTypeParameters:()Z
ifeq 20
aload 1
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getTypeParameters:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 20
1: aload 1
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getTypeParameterMap:()Lorg/bson/codecs/pojo/TypeParameterMap;
invokevirtual org.bson.codecs.pojo.TypeParameterMap.getPropertyToClassParamIndexMap:()Ljava/util/Map;
astore 3
start local 3 2: aload 3
iconst_m1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 4
start local 4 3: aload 4
ifnull 6
4: aload 1
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getTypeParameters:()Ljava/util/List;
aload 4
invokevirtual java.lang.Integer.intValue:()I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.bson.codecs.pojo.TypeData
astore 2
start local 2 5: goto 19
end local 2 6: StackMap locals: org.bson.codecs.pojo.PropertyModelBuilder org.bson.codecs.pojo.PropertyMetadata top java.util.Map java.lang.Integer
StackMap stack:
aload 0
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.getTypeData:()Lorg/bson/codecs/pojo/TypeData;
invokevirtual org.bson.codecs.pojo.TypeData.getType:()Ljava/lang/Class;
invokestatic org.bson.codecs.pojo.TypeData.builder:(Ljava/lang/Class;)Lorg/bson/codecs/pojo/TypeData$Builder;
astore 5
start local 5 7: new java.util.ArrayList
dup
aload 0
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.getTypeData:()Lorg/bson/codecs/pojo/TypeData;
invokevirtual org.bson.codecs.pojo.TypeData.getTypeParameters:()Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 6
start local 6 8: iconst_0
istore 7
start local 7 9: goto 16
10: StackMap locals: org.bson.codecs.pojo.TypeData$Builder java.util.List int
StackMap stack:
aload 3
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 14
StackMap locals: org.bson.codecs.pojo.PropertyModelBuilder org.bson.codecs.pojo.PropertyMetadata top java.util.Map java.lang.Integer org.bson.codecs.pojo.TypeData$Builder java.util.List int top java.util.Iterator
StackMap stack:
11: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 8
start local 8 12: aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Integer
iload 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifeq 14
13: aload 6
iload 7
aload 1
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getTypeParameters:()Ljava/util/List;
aload 8
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.bson.codecs.pojo.TypeData
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
end local 8 14: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
15: iinc 7 1
StackMap locals: org.bson.codecs.pojo.PropertyModelBuilder org.bson.codecs.pojo.PropertyMetadata top java.util.Map java.lang.Integer org.bson.codecs.pojo.TypeData$Builder java.util.List int
StackMap stack:
16: iload 7
aload 6
invokeinterface java.util.List.size:()I
if_icmplt 10
end local 7 17: aload 5
aload 6
invokevirtual org.bson.codecs.pojo.TypeData$Builder.addTypeParameters:(Ljava/util/List;)Lorg/bson/codecs/pojo/TypeData$Builder;
pop
18: aload 5
invokevirtual org.bson.codecs.pojo.TypeData$Builder.build:()Lorg/bson/codecs/pojo/TypeData;
astore 2
end local 6 end local 5 start local 2 19: StackMap locals: org.bson.codecs.pojo.PropertyModelBuilder org.bson.codecs.pojo.PropertyMetadata org.bson.codecs.pojo.TypeData java.util.Map java.lang.Integer
StackMap stack:
aload 0
aload 2
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.typeData:(Lorg/bson/codecs/pojo/TypeData;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
pop
end local 4 end local 3 end local 2 20: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 propertyModelBuilder Lorg/bson/codecs/pojo/PropertyModelBuilder<TV;>;
0 21 1 propertyMetadata Lorg/bson/codecs/pojo/PropertyMetadata<TV;>;
5 6 2 specializedFieldType Lorg/bson/codecs/pojo/TypeData<TV;>;
19 20 2 specializedFieldType Lorg/bson/codecs/pojo/TypeData<TV;>;
2 20 3 fieldToClassParamIndexMap Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/Integer;>;
3 20 4 classTypeParamRepresentsWholeField Ljava/lang/Integer;
7 19 5 builder Lorg/bson/codecs/pojo/TypeData$Builder<TV;>;
8 19 6 typeParameters Ljava/util/List<Lorg/bson/codecs/pojo/TypeData<*>;>;
9 17 7 i I
12 14 8 mapping Ljava/util/Map$Entry<Ljava/lang/Integer;Ljava/lang/Integer;>;
Signature: <V:Ljava/lang/Object;>(Lorg/bson/codecs/pojo/PropertyModelBuilder<TV;>;Lorg/bson/codecs/pojo/PropertyMetadata<TV;>;)V
MethodParameters:
Name Flags
propertyModelBuilder final
propertyMetadata final
static <V> V stateNotNull(java.lang.String, );
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "%s cannot be null"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 property Ljava/lang/String;
0 3 1 value TV;
Signature: <V:Ljava/lang/Object;>(Ljava/lang/String;TV;)TV;
MethodParameters:
Name Flags
property final
value final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/codecs/pojo/PojoBuilderHelper;
}
SourceFile: "PojoBuilderHelper.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
PropertyMethods = org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods of org.bson.codecs.pojo.PropertyReflectionUtils
public final Builder = org.bson.codecs.pojo.TypeData$Builder of org.bson.codecs.pojo.TypeData
final Builder = org.bson.codecs.pojo.TypeParameterMap$Builder of org.bson.codecs.pojo.TypeParameterMap