public final class org.bson.codecs.pojo.PojoCodecProvider$Builder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.bson.codecs.pojo.PojoCodecProvider$Builder
super_class: java.lang.Object
{
private final java.util.Set<java.lang.String> packages;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.util.Map<java.lang.Class<?>, org.bson.codecs.pojo.ClassModel<?>> classModels;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Lorg/bson/codecs/pojo/ClassModel<*>;>;
private final java.util.List<java.lang.Class<?>> clazzes;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Class<*>;>;
private java.util.List<org.bson.codecs.pojo.Convention> conventions;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/bson/codecs/pojo/Convention;>;
private final java.util.List<org.bson.codecs.pojo.PropertyCodecProvider> propertyCodecProviders;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/bson/codecs/pojo/PropertyCodecProvider;>;
private boolean automatic;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public org.bson.codecs.pojo.PojoCodecProvider build();
descriptor: ()Lorg/bson/codecs/pojo/PojoCodecProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=1
start local 0 0: aload 0
getfield org.bson.codecs.pojo.PojoCodecProvider$Builder.conventions:Ljava/util/List;
ifnull 2
1: new java.util.ArrayList
dup
aload 0
getfield org.bson.codecs.pojo.PojoCodecProvider$Builder.conventions:Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
goto 3
2: StackMap locals:
StackMap stack:
aconst_null
3: StackMap locals:
StackMap stack: java.util.List
astore 1
start local 1 4: aload 0
getfield org.bson.codecs.pojo.PojoCodecProvider$Builder.clazzes:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.bson.codecs.pojo.PojoCodecProvider$Builder java.util.List top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 2
start local 2 6: aload 0
getfield org.bson.codecs.pojo.PojoCodecProvider$Builder.classModels:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 8
7: aload 0
iconst_1
anewarray org.bson.codecs.pojo.ClassModel
dup
iconst_0
aload 2
aload 1
invokestatic org.bson.codecs.pojo.PojoCodecProvider.createClassModel:(Ljava/lang/Class;Ljava/util/List;)Lorg/bson/codecs/pojo/ClassModel;
aastore
invokevirtual org.bson.codecs.pojo.PojoCodecProvider$Builder.register:([Lorg/bson/codecs/pojo/ClassModel;)Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
pop
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: new org.bson.codecs.pojo.PojoCodecProvider
dup
aload 0
getfield org.bson.codecs.pojo.PojoCodecProvider$Builder.automatic:Z
aload 0
getfield org.bson.codecs.pojo.PojoCodecProvider$Builder.classModels:Ljava/util/Map;
aload 0
getfield org.bson.codecs.pojo.PojoCodecProvider$Builder.packages:Ljava/util/Set;
aload 1
aload 0
getfield org.bson.codecs.pojo.PojoCodecProvider$Builder.propertyCodecProviders:Ljava/util/List;
invokespecial org.bson.codecs.pojo.PojoCodecProvider.<init>:(ZLjava/util/Map;Ljava/util/Set;Ljava/util/List;Ljava/util/List;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
4 10 1 immutableConventions Ljava/util/List<Lorg/bson/codecs/pojo/Convention;>;
6 8 2 clazz Ljava/lang/Class<*>;
public org.bson.codecs.pojo.PojoCodecProvider$Builder automatic(boolean);
descriptor: (Z)Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.bson.codecs.pojo.PojoCodecProvider$Builder.automatic:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
0 2 1 automatic Z
MethodParameters:
Name Flags
automatic final
public org.bson.codecs.pojo.PojoCodecProvider$Builder conventions(java.util.List<org.bson.codecs.pojo.Convention>);
descriptor: (Ljava/util/List;)Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "conventions"
aload 1
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
putfield org.bson.codecs.pojo.PojoCodecProvider$Builder.conventions:Ljava/util/List;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
0 2 1 conventions Ljava/util/List<Lorg/bson/codecs/pojo/Convention;>;
Signature: (Ljava/util/List<Lorg/bson/codecs/pojo/Convention;>;)Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
MethodParameters:
Name Flags
conventions final
public org.bson.codecs.pojo.PojoCodecProvider$Builder register(java.lang.Class<?>[]);
descriptor: ([Ljava/lang/Class;)Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.codecs.pojo.PojoCodecProvider$Builder.clazzes:Ljava/util/List;
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
0 2 1 classes [Ljava/lang/Class;
Signature: ([Ljava/lang/Class<*>;)Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
MethodParameters:
Name Flags
classes final
public org.bson.codecs.pojo.PojoCodecProvider$Builder register(org.bson.codecs.pojo.ClassModel<?>[]);
descriptor: ([Lorg/bson/codecs/pojo/ClassModel;)Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: ldc "classModels"
aload 1
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: org.bson.codecs.pojo.PojoCodecProvider$Builder org.bson.codecs.pojo.ClassModel[] top int int org.bson.codecs.pojo.ClassModel[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 0
getfield org.bson.codecs.pojo.PojoCodecProvider$Builder.classModels:Ljava/util/Map;
aload 2
invokevirtual org.bson.codecs.pojo.ClassModel.getType:()Ljava/lang/Class;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
0 7 1 classModels [Lorg/bson/codecs/pojo/ClassModel;
3 4 2 classModel Lorg/bson/codecs/pojo/ClassModel<*>;
Signature: ([Lorg/bson/codecs/pojo/ClassModel<*>;)Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
MethodParameters:
Name Flags
classModels final
public org.bson.codecs.pojo.PojoCodecProvider$Builder register(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.codecs.pojo.PojoCodecProvider$Builder.packages:Ljava/util/Set;
ldc "packageNames"
aload 1
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String[]
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
0 2 1 packageNames [Ljava/lang/String;
MethodParameters:
Name Flags
packageNames final
public org.bson.codecs.pojo.PojoCodecProvider$Builder register(org.bson.codecs.pojo.PropertyCodecProvider[]);
descriptor: ([Lorg/bson/codecs/pojo/PropertyCodecProvider;)Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.codecs.pojo.PojoCodecProvider$Builder.propertyCodecProviders:Ljava/util/List;
ldc "providers"
aload 1
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.codecs.pojo.PropertyCodecProvider[]
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
0 2 1 providers [Lorg/bson/codecs/pojo/PropertyCodecProvider;
MethodParameters:
Name Flags
providers final
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
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.bson.codecs.pojo.PojoCodecProvider$Builder.packages:Ljava/util/Set;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.bson.codecs.pojo.PojoCodecProvider$Builder.classModels:Ljava/util/Map;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bson.codecs.pojo.PojoCodecProvider$Builder.clazzes:Ljava/util/List;
4: aload 0
aconst_null
putfield org.bson.codecs.pojo.PojoCodecProvider$Builder.conventions:Ljava/util/List;
5: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bson.codecs.pojo.PojoCodecProvider$Builder.propertyCodecProviders:Ljava/util/List;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
}
SourceFile: "PojoCodecProvider.java"
NestHost: org.bson.codecs.pojo.PojoCodecProvider
InnerClasses:
public final Builder = org.bson.codecs.pojo.PojoCodecProvider$Builder of org.bson.codecs.pojo.PojoCodecProvider