final class org.bson.codecs.pojo.ConventionDefaultsImpl implements org.bson.codecs.pojo.Convention
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.bson.codecs.pojo.ConventionDefaultsImpl
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/pojo/ConventionDefaultsImpl;
public void apply(org.bson.codecs.pojo.ClassModelBuilder<?>);
descriptor: (Lorg/bson/codecs/pojo/ClassModelBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.getDiscriminatorKey:()Ljava/lang/String;
ifnonnull 2
1: aload 1
ldc "_t"
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.discriminatorKey:(Ljava/lang/String;)Lorg/bson/codecs/pojo/ClassModelBuilder;
pop
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.getDiscriminator:()Ljava/lang/String;
ifnonnull 4
aload 1
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.getType:()Ljava/lang/Class;
ifnull 4
3: aload 1
aload 1
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.getType:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.discriminator:(Ljava/lang/String;)Lorg/bson/codecs/pojo/ClassModelBuilder;
pop
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.getPropertyModelBuilders:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: org.bson.codecs.pojo.ConventionDefaultsImpl org.bson.codecs.pojo.ClassModelBuilder top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bson.codecs.pojo.PropertyModelBuilder
astore 2
start local 2 6: aload 1
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.getIdPropertyName:()Ljava/lang/String;
ifnonnull 10
7: aload 2
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.getName:()Ljava/lang/String;
astore 4
start local 4 8: aload 4
ldc "_id"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
aload 4
ldc "id"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: StackMap locals: org.bson.codecs.pojo.ConventionDefaultsImpl org.bson.codecs.pojo.ClassModelBuilder org.bson.codecs.pojo.PropertyModelBuilder java.util.Iterator java.lang.String
StackMap stack:
aload 1
aload 4
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.idPropertyName:(Ljava/lang/String;)Lorg/bson/codecs/pojo/ClassModelBuilder;
pop
end local 4 end local 2 10: StackMap locals: org.bson.codecs.pojo.ConventionDefaultsImpl org.bson.codecs.pojo.ClassModelBuilder top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bson/codecs/pojo/ConventionDefaultsImpl;
0 12 1 classModelBuilder Lorg/bson/codecs/pojo/ClassModelBuilder<*>;
6 10 2 propertyModel Lorg/bson/codecs/pojo/PropertyModelBuilder<*>;
8 10 4 propertyName Ljava/lang/String;
Signature: (Lorg/bson/codecs/pojo/ClassModelBuilder<*>;)V
MethodParameters:
Name Flags
classModelBuilder final
}
SourceFile: "ConventionDefaultsImpl.java"