public class org.bson.codecs.CodeWithScopeCodec implements org.bson.codecs.Codec<org.bson.types.CodeWithScope>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bson.codecs.CodeWithScopeCodec
super_class: java.lang.Object
{
private final org.bson.codecs.Codec<org.bson.Document> documentCodec;
descriptor: Lorg/bson/codecs/Codec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/bson/codecs/Codec<Lorg/bson/Document;>;
public void <init>(org.bson.codecs.Codec<org.bson.Document>);
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.CodeWithScopeCodec.documentCodec: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/CodeWithScopeCodec;
0 3 1 documentCodec Lorg/bson/codecs/Codec<Lorg/bson/Document;>;
Signature: (Lorg/bson/codecs/Codec<Lorg/bson/Document;>;)V
MethodParameters:
Name Flags
documentCodec final
public org.bson.types.CodeWithScope decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Lorg/bson/types/CodeWithScope;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.bson.BsonReader.readJavaScriptWithScope:()Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield org.bson.codecs.CodeWithScopeCodec.documentCodec:Lorg/bson/codecs/Codec;
aload 1
aload 2
invokeinterface org.bson.codecs.Codec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Object;
checkcast org.bson.Document
astore 4
start local 4 2: new org.bson.types.CodeWithScope
dup
aload 3
aload 4
invokespecial org.bson.types.CodeWithScope.<init>:(Ljava/lang/String;Lorg/bson/Document;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/codecs/CodeWithScopeCodec;
0 3 1 bsonReader Lorg/bson/BsonReader;
0 3 2 decoderContext Lorg/bson/codecs/DecoderContext;
1 3 3 code Ljava/lang/String;
2 3 4 scope Lorg/bson/Document;
MethodParameters:
Name Flags
bsonReader final
decoderContext final
public void encode(org.bson.BsonWriter, org.bson.types.CodeWithScope, org.bson.codecs.EncoderContext);
descriptor: (Lorg/bson/BsonWriter;Lorg/bson/types/CodeWithScope;Lorg/bson/codecs/EncoderContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokevirtual org.bson.types.CodeWithScope.getCode:()Ljava/lang/String;
invokeinterface org.bson.BsonWriter.writeJavaScriptWithScope:(Ljava/lang/String;)V
1: aload 0
getfield org.bson.codecs.CodeWithScopeCodec.documentCodec:Lorg/bson/codecs/Codec;
aload 1
aload 2
invokevirtual org.bson.types.CodeWithScope.getScope:()Lorg/bson/Document;
aload 3
invokeinterface org.bson.codecs.Codec.encode:(Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/codecs/CodeWithScopeCodec;
0 3 1 writer Lorg/bson/BsonWriter;
0 3 2 codeWithScope Lorg/bson/types/CodeWithScope;
0 3 3 encoderContext Lorg/bson/codecs/EncoderContext;
MethodParameters:
Name Flags
writer final
codeWithScope final
encoderContext final
public java.lang.Class<org.bson.types.CodeWithScope> getEncoderClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Lorg/bson/types/CodeWithScope;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/CodeWithScopeCodec;
Signature: ()Ljava/lang/Class<Lorg/bson/types/CodeWithScope;>;
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.CodeWithScopeCodec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Lorg/bson/types/CodeWithScope;
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.types.CodeWithScope
aload 3
invokevirtual org.bson.codecs.CodeWithScopeCodec.encode:(Lorg/bson/BsonWriter;Lorg/bson/types/CodeWithScope;Lorg/bson/codecs/EncoderContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/bson/codecs/Codec<Lorg/bson/types/CodeWithScope;>;
SourceFile: "CodeWithScopeCodec.java"