final class org.bson.RawBsonValueHelper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.bson.RawBsonValueHelper
super_class: java.lang.Object
{
private static final org.bson.codecs.configuration.CodecRegistry REGISTRY;
descriptor: Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: iconst_1
anewarray org.bson.codecs.configuration.CodecProvider
dup
iconst_0
new org.bson.codecs.BsonValueCodecProvider
dup
invokespecial org.bson.codecs.BsonValueCodecProvider.<init>:()V
aastore
invokestatic org.bson.codecs.configuration.CodecRegistries.fromProviders:([Lorg/bson/codecs/configuration/CodecProvider;)Lorg/bson/codecs/configuration/CodecRegistry;
putstatic org.bson.RawBsonValueHelper.REGISTRY:Lorg/bson/codecs/configuration/CodecRegistry;
return
LocalVariableTable:
Start End Slot Name Signature
static org.bson.BsonValue decode(byte[], org.bson.BsonBinaryReader);
descriptor: ([BLorg/bson/BsonBinaryReader;)Lorg/bson/BsonValue;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.bson.BsonBinaryReader.getCurrentBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.DOCUMENT:Lorg/bson/BsonType;
if_acmpeq 1
aload 1
invokevirtual org.bson.BsonBinaryReader.getCurrentBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.ARRAY:Lorg/bson/BsonType;
if_acmpne 9
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.bson.BsonBinaryReader.getBsonInput:()Lorg/bson/io/BsonInput;
invokeinterface org.bson.io.BsonInput.getPosition:()I
istore 2
start local 2 2: aload 1
invokevirtual org.bson.BsonBinaryReader.getBsonInput:()Lorg/bson/io/BsonInput;
iconst_4
invokeinterface org.bson.io.BsonInput.getMark:(I)Lorg/bson/io/BsonInputMark;
astore 3
start local 3 3: aload 1
invokevirtual org.bson.BsonBinaryReader.getBsonInput:()Lorg/bson/io/BsonInput;
invokeinterface org.bson.io.BsonInput.readInt32:()I
istore 4
start local 4 4: aload 3
invokeinterface org.bson.io.BsonInputMark.reset:()V
5: aload 1
invokevirtual org.bson.BsonBinaryReader.skipValue:()V
6: aload 1
invokevirtual org.bson.BsonBinaryReader.getCurrentBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.DOCUMENT:Lorg/bson/BsonType;
if_acmpne 8
7: new org.bson.RawBsonDocument
dup
aload 0
iload 2
iload 4
invokespecial org.bson.RawBsonDocument.<init>:([BII)V
areturn
8: StackMap locals: int org.bson.io.BsonInputMark int
StackMap stack:
new org.bson.RawBsonArray
dup
aload 0
iload 2
iload 4
invokespecial org.bson.RawBsonArray.<init>:([BII)V
areturn
end local 4 end local 3 end local 2 9: StackMap locals:
StackMap stack:
getstatic org.bson.RawBsonValueHelper.REGISTRY:Lorg/bson/codecs/configuration/CodecRegistry;
aload 1
invokevirtual org.bson.BsonBinaryReader.getCurrentBsonType:()Lorg/bson/BsonType;
invokestatic org.bson.codecs.BsonValueCodecProvider.getClassForBsonType:(Lorg/bson/BsonType;)Ljava/lang/Class;
invokeinterface org.bson.codecs.configuration.CodecRegistry.get:(Ljava/lang/Class;)Lorg/bson/codecs/Codec;
aload 1
invokestatic org.bson.codecs.DecoderContext.builder:()Lorg/bson/codecs/DecoderContext$Builder;
invokevirtual org.bson.codecs.DecoderContext$Builder.build:()Lorg/bson/codecs/DecoderContext;
invokeinterface org.bson.codecs.Codec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Object;
checkcast org.bson.BsonValue
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 bytes [B
0 10 1 bsonReader Lorg/bson/BsonBinaryReader;
2 9 2 position I
3 9 3 mark Lorg/bson/io/BsonInputMark;
4 9 4 size I
MethodParameters:
Name Flags
bytes final
bsonReader final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/RawBsonValueHelper;
}
SourceFile: "RawBsonValueHelper.java"
InnerClasses:
public final Builder = org.bson.codecs.DecoderContext$Builder of org.bson.codecs.DecoderContext