final class org.bson.codecs.pojo.AutomaticPojoCodec<T> extends org.bson.codecs.pojo.PojoCodec<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.bson.codecs.pojo.AutomaticPojoCodec
super_class: org.bson.codecs.pojo.PojoCodec
{
private final org.bson.codecs.pojo.PojoCodec<T> pojoCodec;
descriptor: Lorg/bson/codecs/pojo/PojoCodec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/bson/codecs/pojo/PojoCodec<TT;>;
void <init>(org.bson.codecs.pojo.PojoCodec<T>);
descriptor: (Lorg/bson/codecs/pojo/PojoCodec;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bson.codecs.pojo.PojoCodec.<init>:()V
1: aload 0
aload 1
putfield org.bson.codecs.pojo.AutomaticPojoCodec.pojoCodec:Lorg/bson/codecs/pojo/PojoCodec;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/codecs/pojo/AutomaticPojoCodec<TT;>;
0 3 1 pojoCodec Lorg/bson/codecs/pojo/PojoCodec<TT;>;
Signature: (Lorg/bson/codecs/pojo/PojoCodec<TT;>;)V
MethodParameters:
Name Flags
pojoCodec final
public T decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bson.codecs.pojo.AutomaticPojoCodec.pojoCodec:Lorg/bson/codecs/pojo/PojoCodec;
aload 1
aload 2
invokevirtual org.bson.codecs.pojo.PojoCodec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: org.bson.codecs.configuration.CodecConfigurationException
astore 3
start local 3 3: new org.bson.codecs.configuration.CodecConfigurationException
dup
4: ldc "An exception occurred when decoding using the AutomaticPojoCodec.%nDecoding into a '%s' failed with the following exception:%n%n%s%n%nA custom Codec or PojoCodec may need to be explicitly configured and registered to handle this type."
iconst_2
anewarray java.lang.Object
dup
iconst_0
5: aload 0
getfield org.bson.codecs.pojo.AutomaticPojoCodec.pojoCodec:Lorg/bson/codecs/pojo/PojoCodec;
invokevirtual org.bson.codecs.pojo.PojoCodec.getEncoderClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 3
invokevirtual org.bson.codecs.configuration.CodecConfigurationException.getMessage:()Ljava/lang/String;
aastore
6: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: aload 3
8: invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bson/codecs/pojo/AutomaticPojoCodec<TT;>;
0 9 1 reader Lorg/bson/BsonReader;
0 9 2 decoderContext Lorg/bson/codecs/DecoderContext;
3 9 3 e Lorg/bson/codecs/configuration/CodecConfigurationException;
Exception table:
from to target type
0 1 2 Class org.bson.codecs.configuration.CodecConfigurationException
Signature: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)TT;
MethodParameters:
Name Flags
reader final
decoderContext final
public void encode(org.bson.BsonWriter, T, org.bson.codecs.EncoderContext);
descriptor: (Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bson.codecs.pojo.AutomaticPojoCodec.pojoCodec:Lorg/bson/codecs/pojo/PojoCodec;
aload 1
aload 2
aload 3
invokevirtual org.bson.codecs.pojo.PojoCodec.encode:(Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
1: goto 9
StackMap locals:
StackMap stack: org.bson.codecs.configuration.CodecConfigurationException
2: astore 4
start local 4 3: new org.bson.codecs.configuration.CodecConfigurationException
dup
4: ldc "An exception occurred when encoding using the AutomaticPojoCodec.%nEncoding a %s: '%s' failed with the following exception:%n%n%s%n%nA custom Codec or PojoCodec may need to be explicitly configured and registered to handle this type."
iconst_3
anewarray java.lang.Object
dup
iconst_0
5: aload 0
invokevirtual org.bson.codecs.pojo.AutomaticPojoCodec.getEncoderClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 4
invokevirtual org.bson.codecs.configuration.CodecConfigurationException.getMessage:()Ljava/lang/String;
aastore
6: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: aload 4
8: invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bson/codecs/pojo/AutomaticPojoCodec<TT;>;
0 10 1 writer Lorg/bson/BsonWriter;
0 10 2 value TT;
0 10 3 encoderContext Lorg/bson/codecs/EncoderContext;
3 9 4 e Lorg/bson/codecs/configuration/CodecConfigurationException;
Exception table:
from to target type
0 1 2 Class org.bson.codecs.configuration.CodecConfigurationException
Signature: (Lorg/bson/BsonWriter;TT;Lorg/bson/codecs/EncoderContext;)V
MethodParameters:
Name Flags
writer final
value final
encoderContext final
public java.lang.Class<T> getEncoderClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.codecs.pojo.AutomaticPojoCodec.pojoCodec:Lorg/bson/codecs/pojo/PojoCodec;
invokevirtual org.bson.codecs.pojo.PojoCodec.getEncoderClass:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/pojo/AutomaticPojoCodec<TT;>;
Signature: ()Ljava/lang/Class<TT;>;
org.bson.codecs.pojo.ClassModel<T> getClassModel();
descriptor: ()Lorg/bson/codecs/pojo/ClassModel;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.codecs.pojo.AutomaticPojoCodec.pojoCodec:Lorg/bson/codecs/pojo/PojoCodec;
invokevirtual org.bson.codecs.pojo.PojoCodec.getClassModel:()Lorg/bson/codecs/pojo/ClassModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/pojo/AutomaticPojoCodec<TT;>;
Signature: ()Lorg/bson/codecs/pojo/ClassModel<TT;>;
}
Signature: <T:Ljava/lang/Object;>Lorg/bson/codecs/pojo/PojoCodec<TT;>;
SourceFile: "AutomaticPojoCodec.java"