final class org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor<T> implements org.bson.codecs.pojo.PropertyAccessor<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor
super_class: java.lang.Object
{
private final org.bson.codecs.pojo.PropertyAccessorImpl<T> wrapped;
descriptor: Lorg/bson/codecs/pojo/PropertyAccessorImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/bson/codecs/pojo/PropertyAccessorImpl<TT;>;
private void <init>(org.bson.codecs.pojo.PropertyAccessorImpl<T>);
descriptor: (Lorg/bson/codecs/pojo/PropertyAccessorImpl;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.wrapped:Lorg/bson/codecs/pojo/PropertyAccessorImpl;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/codecs/pojo/ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor<TT;>;
0 3 1 wrapped Lorg/bson/codecs/pojo/PropertyAccessorImpl<TT;>;
Signature: (Lorg/bson/codecs/pojo/PropertyAccessorImpl<TT;>;)V
MethodParameters:
Name Flags
wrapped final
public <S> T get();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.wrapped:Lorg/bson/codecs/pojo/PropertyAccessorImpl;
aload 1
invokevirtual org.bson.codecs.pojo.PropertyAccessorImpl.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/pojo/ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor<TT;>;
0 1 1 instance TS;
Signature: <S:Ljava/lang/Object;>(TS;)TT;
MethodParameters:
Name Flags
instance final
public <S> void set(S, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof java.util.Collection
ifeq 3
1: aload 0
aload 1
aload 2
checkcast java.util.Collection
invokevirtual org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.mutateCollection:(Ljava/lang/Object;Ljava/util/Collection;)V
2: goto 7
StackMap locals:
StackMap stack:
3: aload 2
instanceof java.util.Map
ifeq 6
4: aload 0
aload 1
aload 2
checkcast java.util.Map
invokevirtual org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.mutateMap:(Ljava/lang/Object;Ljava/util/Map;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
ldc "Unexpected type: '%s'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aconst_null
invokevirtual org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.throwCodecConfigurationException:(Ljava/lang/String;Ljava/lang/Exception;)V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bson/codecs/pojo/ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor<TT;>;
0 8 1 instance TS;
0 8 2 value TT;
Signature: <S:Ljava/lang/Object;>(TS;TT;)V
MethodParameters:
Name Flags
instance final
value final
private <S> void mutateCollection(S, java.util.Collection);
descriptor: (Ljava/lang/Object;Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
checkcast java.util.Collection
astore 4
start local 4 2: aload 4
ifnonnull 5
3: aload 0
ldc "The getter returned null."
aconst_null
invokevirtual org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.throwCodecConfigurationException:(Ljava/lang/String;Ljava/lang/Exception;)V
4: goto 12
StackMap locals: java.lang.Object java.util.Collection
StackMap stack:
5: aload 4
invokeinterface java.util.Collection.isEmpty:()Z
ifne 8
6: aload 0
ldc "The getter returned a non empty collection."
aconst_null
invokevirtual org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.throwCodecConfigurationException:(Ljava/lang/String;Ljava/lang/Exception;)V
7: goto 12
8: StackMap locals:
StackMap stack:
aload 4
aload 2
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
pop
9: goto 12
StackMap locals:
StackMap stack: java.lang.Exception
10: astore 5
start local 5 11: aload 0
ldc "collection#addAll failed."
aload 5
invokevirtual org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.throwCodecConfigurationException:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 5 12: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bson/codecs/pojo/ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor<TT;>;
0 13 1 instance TS;
0 13 2 value Ljava/util/Collection;
1 13 3 originalCollection TT;
2 13 4 collection Ljava/util/Collection<*>;
11 12 5 e Ljava/lang/Exception;
Exception table:
from to target type
8 9 10 Class java.lang.Exception
Signature: <S:Ljava/lang/Object;>(TS;Ljava/util/Collection;)V
MethodParameters:
Name Flags
instance final
value final
private <S> void mutateMap(S, java.util.Map);
descriptor: (Ljava/lang/Object;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
checkcast java.util.Map
astore 4
start local 4 2: aload 4
ifnonnull 5
3: aload 0
ldc "The getter returned null."
aconst_null
invokevirtual org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.throwCodecConfigurationException:(Ljava/lang/String;Ljava/lang/Exception;)V
4: goto 12
StackMap locals: java.lang.Object java.util.Map
StackMap stack:
5: aload 4
invokeinterface java.util.Map.isEmpty:()Z
ifne 8
6: aload 0
ldc "The getter returned a non empty map."
aconst_null
invokevirtual org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.throwCodecConfigurationException:(Ljava/lang/String;Ljava/lang/Exception;)V
7: goto 12
8: StackMap locals:
StackMap stack:
aload 4
aload 2
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
9: goto 12
StackMap locals:
StackMap stack: java.lang.Exception
10: astore 5
start local 5 11: aload 0
ldc "map#putAll failed."
aload 5
invokevirtual org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.throwCodecConfigurationException:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 5 12: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bson/codecs/pojo/ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor<TT;>;
0 13 1 instance TS;
0 13 2 value Ljava/util/Map;
1 13 3 originalMap TT;
2 13 4 map Ljava/util/Map<**>;
11 12 5 e Ljava/lang/Exception;
Exception table:
from to target type
8 9 10 Class java.lang.Exception
Signature: <S:Ljava/lang/Object;>(TS;Ljava/util/Map;)V
MethodParameters:
Name Flags
instance final
value final
private void throwCodecConfigurationException(java.lang.String, java.lang.Exception);
descriptor: (Ljava/lang/String;Ljava/lang/Exception;)V
flags: (0x0002) ACC_PRIVATE
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 "Cannot use getter in '%s' to set '%s'. %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.wrapped:Lorg/bson/codecs/pojo/PropertyAccessorImpl;
invokevirtual org.bson.codecs.pojo.PropertyAccessorImpl.getPropertyMetadata:()Lorg/bson/codecs/pojo/PropertyMetadata;
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getDeclaringClassName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor.wrapped:Lorg/bson/codecs/pojo/PropertyAccessorImpl;
invokevirtual org.bson.codecs.pojo.PropertyAccessorImpl.getPropertyMetadata:()Lorg/bson/codecs/pojo/PropertyMetadata;
invokevirtual org.bson.codecs.pojo.PropertyMetadata.getName:()Ljava/lang/String;
aastore
dup
iconst_2
aload 1
aastore
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: aload 2
4: 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 5 0 this Lorg/bson/codecs/pojo/ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor<TT;>;
0 5 1 reason Ljava/lang/String;
0 5 2 cause Ljava/lang/Exception;
MethodParameters:
Name Flags
reason final
cause final
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lorg/bson/codecs/pojo/PropertyAccessor<TT;>;
SourceFile: "ConventionUseGettersAsSettersImpl.java"
NestHost: org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl
InnerClasses:
private final PrivatePropertyAccessor = org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl$PrivatePropertyAccessor of org.bson.codecs.pojo.ConventionUseGettersAsSettersImpl