final class org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl 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.ConventionUseGettersAsSettersImpl
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/ConventionUseGettersAsSettersImpl;
public void apply(org.bson.codecs.pojo.ClassModelBuilder<?>);
descriptor: (Lorg/bson/codecs/pojo/ClassModelBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.getPropertyModelBuilders:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl org.bson.codecs.pojo.ClassModelBuilder top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bson.codecs.pojo.PropertyModelBuilder
astore 2
start local 2 2: aload 2
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.getPropertyAccessor:()Lorg/bson/codecs/pojo/PropertyAccessor;
instanceof org.bson.codecs.pojo.PropertyAccessorImpl
ifne 6
3: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "The USE_GETTER_AS_SETTER_CONVENTION is not compatible with propertyModelBuilder instance that have custom implementations of org.bson.codecs.pojo.PropertyAccessor: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
4: aload 2
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.getPropertyAccessor:()Lorg/bson/codecs/pojo/PropertyAccessor;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
5: 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
6: StackMap locals: org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl org.bson.codecs.pojo.ClassModelBuilder org.bson.codecs.pojo.PropertyModelBuilder java.util.Iterator
StackMap stack:
aload 2
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.getPropertyAccessor:()Lorg/bson/codecs/pojo/PropertyAccessor;
checkcast org.bson.codecs.pojo.PropertyAccessorImpl
astore 4
start local 4 7: aload 4
invokevirtual org.bson.codecs.pojo.PropertyAccessorImpl.getPropertyMetadata:()Lorg/bson/codecs/pojo/PropertyMetadata;
astore 5
start local 5 8: aload 5
invokevirtual org.bson.codecs.pojo.PropertyMetadata.isDeserializable:()Z
ifne 11
aload 5
invokevirtual org.bson.codecs.pojo.PropertyMetadata.isSerializable:()Z
ifeq 11
9: aload 0
aload 5
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getTypeData:()Lorg/bson/codecs/pojo/TypeData;
invokevirtual org.bson.codecs.pojo.TypeData.getType:()Ljava/lang/Class;
invokevirtual org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl.isMapOrCollection:(Ljava/lang/Class;)Z
ifeq 11
10: aload 0
aload 2
invokevirtual org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl.setPropertyAccessor:(Lorg/bson/codecs/pojo/PropertyModelBuilder;)V
end local 5 end local 4 end local 2 11: StackMap locals: org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl org.bson.codecs.pojo.ClassModelBuilder top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bson/codecs/pojo/ConventionUseGettersAsSettersImpl;
0 13 1 classModelBuilder Lorg/bson/codecs/pojo/ClassModelBuilder<*>;
2 11 2 propertyModelBuilder Lorg/bson/codecs/pojo/PropertyModelBuilder<*>;
7 11 4 defaultAccessor Lorg/bson/codecs/pojo/PropertyAccessorImpl<*>;
8 11 5 propertyMetaData Lorg/bson/codecs/pojo/PropertyMetadata<*>;
Signature: (Lorg/bson/codecs/pojo/ClassModelBuilder<*>;)V
MethodParameters:
Name Flags
classModelBuilder final
private <T> boolean isMapOrCollection(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc Ljava/util/Collection;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 1
ldc Ljava/util/Map;
aload 1
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 this Lorg/bson/codecs/pojo/ConventionUseGettersAsSettersImpl;
0 2 1 clazz Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Z
MethodParameters:
Name Flags
clazz final
private <T> void setPropertyAccessor(org.bson.codecs.pojo.PropertyModelBuilder<T>);
descriptor: (Lorg/bson/codecs/pojo/PropertyModelBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor
dup
1: aload 1
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.getPropertyAccessor:()Lorg/bson/codecs/pojo/PropertyAccessor;
checkcast org.bson.codecs.pojo.PropertyAccessorImpl
invokespecial org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.<init>:(Lorg/bson/codecs/pojo/PropertyAccessorImpl;)V
2: invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.propertyAccessor:(Lorg/bson/codecs/pojo/PropertyAccessor;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bson/codecs/pojo/ConventionUseGettersAsSettersImpl;
0 4 1 propertyModelBuilder Lorg/bson/codecs/pojo/PropertyModelBuilder<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/bson/codecs/pojo/PropertyModelBuilder<TT;>;)V
MethodParameters:
Name Flags
propertyModelBuilder final
}
SourceFile: "ConventionUseGettersAsSettersImpl.java"
NestMembers:
org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor
InnerClasses:
private final PrivatePropertyAccessor = org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor of org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl