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