public class org.bson.codecs.BsonDocumentWrapperCodec implements org.bson.codecs.Codec<org.bson.BsonDocumentWrapper>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bson.codecs.BsonDocumentWrapperCodec
super_class: java.lang.Object
{
private final org.bson.codecs.Codec<org.bson.BsonDocument> bsonDocumentCodec;
descriptor: Lorg/bson/codecs/Codec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/bson/codecs/Codec<Lorg/bson/BsonDocument;>;
public void <init>(org.bson.codecs.Codec<org.bson.BsonDocument>);
descriptor: (Lorg/bson/codecs/Codec;)V
flags: (0x0001) ACC_PUBLIC
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.BsonDocumentWrapperCodec.bsonDocumentCodec:Lorg/bson/codecs/Codec;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/codecs/BsonDocumentWrapperCodec;
0 3 1 bsonDocumentCodec Lorg/bson/codecs/Codec<Lorg/bson/BsonDocument;>;
Signature: (Lorg/bson/codecs/Codec<Lorg/bson/BsonDocument;>;)V
MethodParameters:
Name Flags
bsonDocumentCodec final
public org.bson.BsonDocumentWrapper decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Lorg/bson/BsonDocumentWrapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
ldc "Decoding into a BsonDocumentWrapper is not allowed"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/BsonDocumentWrapperCodec;
0 1 1 reader Lorg/bson/BsonReader;
0 1 2 decoderContext Lorg/bson/codecs/DecoderContext;
MethodParameters:
Name Flags
reader final
decoderContext final
public void encode(org.bson.BsonWriter, org.bson.BsonDocumentWrapper, org.bson.codecs.EncoderContext);
descriptor: (Lorg/bson/BsonWriter;Lorg/bson/BsonDocumentWrapper;Lorg/bson/codecs/EncoderContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.bson.BsonDocumentWrapper.isUnwrapped:()Z
ifeq 3
1: aload 0
getfield org.bson.codecs.BsonDocumentWrapperCodec.bsonDocumentCodec:Lorg/bson/codecs/Codec;
aload 1
aload 2
aload 3
invokeinterface org.bson.codecs.Codec.encode:(Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
2: goto 5
3: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.bson.BsonDocumentWrapper.getEncoder:()Lorg/bson/codecs/Encoder;
astore 4
start local 4 4: aload 4
aload 1
aload 2
invokevirtual org.bson.BsonDocumentWrapper.getWrappedDocument:()Ljava/lang/Object;
aload 3
invokeinterface org.bson.codecs.Encoder.encode:(Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
end local 4 5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bson/codecs/BsonDocumentWrapperCodec;
0 6 1 writer Lorg/bson/BsonWriter;
0 6 2 value Lorg/bson/BsonDocumentWrapper;
0 6 3 encoderContext Lorg/bson/codecs/EncoderContext;
4 5 4 encoder Lorg/bson/codecs/Encoder;
MethodParameters:
Name Flags
writer final
value final
encoderContext final
public java.lang.Class<org.bson.BsonDocumentWrapper> getEncoderClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Lorg/bson/BsonDocumentWrapper;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/BsonDocumentWrapperCodec;
Signature: ()Ljava/lang/Class<Lorg/bson/BsonDocumentWrapper;>;
public java.lang.Object decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual org.bson.codecs.BsonDocumentWrapperCodec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Lorg/bson/BsonDocumentWrapper;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void encode(org.bson.BsonWriter, java.lang.Object, org.bson.codecs.EncoderContext);
descriptor: (Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
checkcast org.bson.BsonDocumentWrapper
aload 3
invokevirtual org.bson.codecs.BsonDocumentWrapperCodec.encode:(Lorg/bson/BsonWriter;Lorg/bson/BsonDocumentWrapper;Lorg/bson/codecs/EncoderContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/bson/codecs/Codec<Lorg/bson/BsonDocumentWrapper;>;
SourceFile: "BsonDocumentWrapperCodec.java"