public final class org.bson.RawBsonDocument extends org.bson.BsonDocument
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.bson.RawBsonDocument
super_class: org.bson.BsonDocument
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int MIN_BSON_DOCUMENT_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private final byte[] bytes;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int offset;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int length;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static org.bson.RawBsonDocument parse(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bson/RawBsonDocument;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: ldc "json"
aload 0
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new org.bson.codecs.RawBsonDocumentCodec
dup
invokespecial org.bson.codecs.RawBsonDocumentCodec.<init>:()V
new org.bson.json.JsonReader
dup
aload 0
invokespecial org.bson.json.JsonReader.<init>:(Ljava/lang/String;)V
invokestatic org.bson.codecs.DecoderContext.builder:()Lorg/bson/codecs/DecoderContext$Builder;
invokevirtual org.bson.codecs.DecoderContext$Builder.build:()Lorg/bson/codecs/DecoderContext;
invokevirtual org.bson.codecs.RawBsonDocumentCodec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Lorg/bson/RawBsonDocument;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 json Ljava/lang/String;
MethodParameters:
Name Flags
json final
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "bytes"
aload 1
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast byte[]
iconst_0
aload 1
arraylength
invokespecial org.bson.RawBsonDocument.<init>:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/RawBsonDocument;
0 2 1 bytes [B
MethodParameters:
Name Flags
bytes final
public void <init>(byte[], int, int);
descriptor: ([BII)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 0
invokespecial org.bson.BsonDocument.<init>:()V
1: ldc "bytes"
aload 1
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: ldc "offset >= 0"
iload 2
iflt 3
iconst_1
goto 4
StackMap locals: org.bson.RawBsonDocument byte[] int int
StackMap stack: java.lang.String
3: iconst_0
StackMap locals: org.bson.RawBsonDocument byte[] int int
StackMap stack: java.lang.String int
4: invokestatic org.bson.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
5: ldc "offset < bytes.length"
iload 2
aload 1
arraylength
if_icmpge 6
iconst_1
goto 7
StackMap locals:
StackMap stack: java.lang.String
6: iconst_0
StackMap locals: org.bson.RawBsonDocument byte[] int int
StackMap stack: java.lang.String int
7: invokestatic org.bson.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
8: ldc "length <= bytes.length - offset"
iload 3
aload 1
arraylength
iload 2
isub
if_icmpgt 9
iconst_1
goto 10
StackMap locals:
StackMap stack: java.lang.String
9: iconst_0
StackMap locals: org.bson.RawBsonDocument byte[] int int
StackMap stack: java.lang.String int
10: invokestatic org.bson.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
11: ldc "length >= 5"
iload 3
iconst_5
if_icmplt 12
iconst_1
goto 13
StackMap locals:
StackMap stack: java.lang.String
12: iconst_0
StackMap locals: org.bson.RawBsonDocument byte[] int int
StackMap stack: java.lang.String int
13: invokestatic org.bson.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
14: aload 0
aload 1
putfield org.bson.RawBsonDocument.bytes:[B
15: aload 0
iload 2
putfield org.bson.RawBsonDocument.offset:I
16: aload 0
iload 3
putfield org.bson.RawBsonDocument.length:I
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/bson/RawBsonDocument;
0 18 1 bytes [B
0 18 2 offset I
0 18 3 length I
MethodParameters:
Name Flags
bytes final
offset final
length final
public <T> void <init>(T, org.bson.codecs.Codec<T>);
descriptor: (Ljava/lang/Object;Lorg/bson/codecs/Codec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.bson.BsonDocument.<init>:()V
1: ldc "document"
aload 1
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: ldc "codec"
aload 2
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: new org.bson.io.BasicOutputBuffer
dup
invokespecial org.bson.io.BasicOutputBuffer.<init>:()V
astore 3
start local 3 4: new org.bson.BsonBinaryWriter
dup
aload 3
invokespecial org.bson.BsonBinaryWriter.<init>:(Lorg/bson/io/BsonOutput;)V
astore 4
start local 4 5: aload 2
aload 4
aload 1
invokestatic org.bson.codecs.EncoderContext.builder:()Lorg/bson/codecs/EncoderContext$Builder;
invokevirtual org.bson.codecs.EncoderContext$Builder.build:()Lorg/bson/codecs/EncoderContext;
invokeinterface org.bson.codecs.Codec.encode:(Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
6: aload 0
aload 3
invokevirtual org.bson.io.BasicOutputBuffer.getInternalBuffer:()[B
putfield org.bson.RawBsonDocument.bytes:[B
7: aload 0
iconst_0
putfield org.bson.RawBsonDocument.offset:I
8: aload 0
aload 3
invokevirtual org.bson.io.BasicOutputBuffer.getPosition:()I
putfield org.bson.RawBsonDocument.length:I
9: goto 13
StackMap locals: org.bson.RawBsonDocument java.lang.Object org.bson.codecs.Codec org.bson.io.BasicOutputBuffer org.bson.BsonBinaryWriter
StackMap stack: java.lang.Throwable
10: astore 5
11: aload 4
invokevirtual org.bson.BsonBinaryWriter.close:()V
12: aload 5
athrow
13: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.bson.BsonBinaryWriter.close:()V
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bson/RawBsonDocument;
0 15 1 document TT;
0 15 2 codec Lorg/bson/codecs/Codec<TT;>;
4 15 3 buffer Lorg/bson/io/BasicOutputBuffer;
5 15 4 writer Lorg/bson/BsonBinaryWriter;
Exception table:
from to target type
5 10 10 any
Signature: <T:Ljava/lang/Object;>(TT;Lorg/bson/codecs/Codec<TT;>;)V
MethodParameters:
Name Flags
document final
codec final
public org.bson.ByteBuf getByteBuffer();
descriptor: ()Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bson.RawBsonDocument.bytes:[B
aload 0
getfield org.bson.RawBsonDocument.offset:I
aload 0
getfield org.bson.RawBsonDocument.length:I
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
2: new org.bson.ByteBufNIO
dup
aload 1
invokespecial org.bson.ByteBufNIO.<init>:(Ljava/nio/ByteBuffer;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/RawBsonDocument;
1 3 1 buffer Ljava/nio/ByteBuffer;
public <T> T decode(org.bson.codecs.Codec<T>);
descriptor: (Lorg/bson/codecs/Codec;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.bson.RawBsonDocument.decode:(Lorg/bson/codecs/Decoder;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
0 1 1 codec Lorg/bson/codecs/Codec<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/bson/codecs/Codec<TT;>;)TT;
MethodParameters:
Name Flags
codec final
public <T> T decode(org.bson.codecs.Decoder<T>);
descriptor: (Lorg/bson/codecs/Decoder;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bson.RawBsonDocument.createReader:()Lorg/bson/BsonBinaryReader;
astore 2
start local 2 1: aload 1
aload 2
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.Decoder.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Object;
astore 4
2: aload 2
invokevirtual org.bson.BsonBinaryReader.close:()V
3: aload 4
areturn
4: StackMap locals: org.bson.RawBsonDocument org.bson.codecs.Decoder org.bson.BsonBinaryReader
StackMap stack: java.lang.Throwable
astore 3
5: aload 2
invokevirtual org.bson.BsonBinaryReader.close:()V
6: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bson/RawBsonDocument;
0 7 1 decoder Lorg/bson/codecs/Decoder<TT;>;
1 7 2 reader Lorg/bson/BsonBinaryReader;
Exception table:
from to target type
1 2 4 any
Signature: <T:Ljava/lang/Object;>(Lorg/bson/codecs/Decoder<TT;>;)TT;
MethodParameters:
Name Flags
decoder final
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "RawBsonDocument instances are immutable"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
public org.bson.BsonValue put(java.lang.String, org.bson.BsonValue);
descriptor: (Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
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 "RawBsonDocument instances are immutable"
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/RawBsonDocument;
0 1 1 key Ljava/lang/String;
0 1 2 value Lorg/bson/BsonValue;
MethodParameters:
Name Flags
key final
value final
public org.bson.BsonDocument append(java.lang.String, org.bson.BsonValue);
descriptor: (Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
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 "RawBsonDocument instances are immutable"
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/RawBsonDocument;
0 1 1 key Ljava/lang/String;
0 1 2 value Lorg/bson/BsonValue;
MethodParameters:
Name Flags
key final
value final
public void putAll(java.util.Map<? extends java.lang.String, ? extends org.bson.BsonValue>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "RawBsonDocument instances are immutable"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
0 1 1 m Ljava/util/Map<+Ljava/lang/String;+Lorg/bson/BsonValue;>;
Signature: (Ljava/util/Map<+Ljava/lang/String;+Lorg/bson/BsonValue;>;)V
MethodParameters:
Name Flags
m final
public org.bson.BsonValue remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bson/BsonValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "RawBsonDocument instances are immutable"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
0 1 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key final
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.bson.RawBsonDocument.createReader:()Lorg/bson/BsonBinaryReader;
astore 1
start local 1 1: aload 1
invokevirtual org.bson.BsonBinaryReader.readStartDocument:()V
2: aload 1
invokevirtual org.bson.BsonBinaryReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpeq 5
3: aload 1
invokevirtual org.bson.BsonBinaryReader.close:()V
4: iconst_0
ireturn
5: StackMap locals: org.bson.BsonBinaryReader
StackMap stack:
aload 1
invokevirtual org.bson.BsonBinaryReader.readEndDocument:()V
6: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
8: aload 1
invokevirtual org.bson.BsonBinaryReader.close:()V
9: aload 2
athrow
10: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.bson.BsonBinaryReader.close:()V
11: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bson/RawBsonDocument;
1 12 1 bsonReader Lorg/bson/BsonBinaryReader;
Exception table:
from to target type
1 3 7 any
5 7 7 any
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual org.bson.RawBsonDocument.createReader:()Lorg/bson/BsonBinaryReader;
astore 2
start local 2 2: aload 2
invokevirtual org.bson.BsonBinaryReader.readStartDocument:()V
3: goto 7
4: StackMap locals: int org.bson.BsonBinaryReader
StackMap stack:
iinc 1 1
5: aload 2
invokevirtual org.bson.BsonBinaryReader.readName:()Ljava/lang/String;
pop
6: aload 2
invokevirtual org.bson.BsonBinaryReader.skipValue:()V
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.bson.BsonBinaryReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 4
8: aload 2
invokevirtual org.bson.BsonBinaryReader.readEndDocument:()V
9: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 3
11: aload 2
invokevirtual org.bson.BsonBinaryReader.close:()V
12: aload 3
athrow
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.bson.BsonBinaryReader.close:()V
14: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bson/RawBsonDocument;
1 15 1 size I
2 15 2 bsonReader Lorg/bson/BsonBinaryReader;
Exception table:
from to target type
2 10 10 any
public java.util.Set<java.util.Map$Entry<java.lang.String, org.bson.BsonValue>> entrySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bson.RawBsonDocument.toBsonDocument:()Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.entrySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
Signature: ()Ljava/util/Set<Ljava/util/Map$Entry<Ljava/lang/String;Lorg/bson/BsonValue;>;>;
public java.util.Collection<org.bson.BsonValue> values();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bson.RawBsonDocument.toBsonDocument:()Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.values:()Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
Signature: ()Ljava/util/Collection<Lorg/bson/BsonValue;>;
public java.util.Set<java.lang.String> keySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bson.RawBsonDocument.toBsonDocument:()Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.keySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.lang.String getFirstKey();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.bson.RawBsonDocument.createReader:()Lorg/bson/BsonBinaryReader;
astore 1
start local 1 1: aload 1
invokevirtual org.bson.BsonBinaryReader.readStartDocument:()V
2: aload 1
invokevirtual org.bson.BsonBinaryReader.readName:()Ljava/lang/String;
astore 3
3: aload 1
invokevirtual org.bson.BsonBinaryReader.close:()V
4: aload 3
areturn
5: StackMap locals: org.bson.RawBsonDocument org.bson.BsonBinaryReader
StackMap stack: org.bson.BsonInvalidOperationException
pop
6: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
8: aload 1
invokevirtual org.bson.BsonBinaryReader.close:()V
9: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bson/RawBsonDocument;
1 10 1 bsonReader Lorg/bson/BsonBinaryReader;
Exception table:
from to target type
2 3 5 Class org.bson.BsonInvalidOperationException
1 3 7 any
5 7 7 any
public boolean containsKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "key can not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bson.RawBsonDocument.createReader:()Lorg/bson/BsonBinaryReader;
astore 2
start local 2 3: aload 2
invokevirtual org.bson.BsonBinaryReader.readStartDocument:()V
4: goto 9
5: StackMap locals: org.bson.BsonBinaryReader
StackMap stack:
aload 2
invokevirtual org.bson.BsonBinaryReader.readName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 2
invokevirtual org.bson.BsonBinaryReader.close:()V
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.bson.BsonBinaryReader.skipValue:()V
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.bson.BsonBinaryReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 5
10: aload 2
invokevirtual org.bson.BsonBinaryReader.readEndDocument:()V
11: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 3
13: aload 2
invokevirtual org.bson.BsonBinaryReader.close:()V
14: aload 3
athrow
15: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.bson.BsonBinaryReader.close:()V
16: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/bson/RawBsonDocument;
0 17 1 key Ljava/lang/Object;
3 17 2 bsonReader Lorg/bson/BsonBinaryReader;
Exception table:
from to target type
3 6 12 any
8 12 12 any
MethodParameters:
Name Flags
key final
public boolean containsValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bson.RawBsonDocument.createReader:()Lorg/bson/BsonBinaryReader;
astore 2
start local 2 1: aload 2
invokevirtual org.bson.BsonBinaryReader.readStartDocument:()V
2: goto 7
3: StackMap locals: org.bson.BsonBinaryReader
StackMap stack:
aload 2
invokevirtual org.bson.BsonBinaryReader.skipName:()V
4: aload 0
getfield org.bson.RawBsonDocument.bytes:[B
aload 2
invokestatic org.bson.RawBsonValueHelper.decode:([BLorg/bson/BsonBinaryReader;)Lorg/bson/BsonValue;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 7
5: aload 2
invokevirtual org.bson.BsonBinaryReader.close:()V
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.bson.BsonBinaryReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 3
8: aload 2
invokevirtual org.bson.BsonBinaryReader.readEndDocument:()V
9: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 3
11: aload 2
invokevirtual org.bson.BsonBinaryReader.close:()V
12: aload 3
athrow
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.bson.BsonBinaryReader.close:()V
14: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bson/RawBsonDocument;
0 15 1 value Ljava/lang/Object;
1 15 2 bsonReader Lorg/bson/BsonBinaryReader;
Exception table:
from to target type
1 5 10 any
7 10 10 any
MethodParameters:
Name Flags
value final
public org.bson.BsonValue get(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bson/BsonValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: ldc "key"
aload 1
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual org.bson.RawBsonDocument.createReader:()Lorg/bson/BsonBinaryReader;
astore 2
start local 2 2: aload 2
invokevirtual org.bson.BsonBinaryReader.readStartDocument:()V
3: goto 9
4: StackMap locals: org.bson.BsonBinaryReader
StackMap stack:
aload 2
invokevirtual org.bson.BsonBinaryReader.readName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
5: aload 0
getfield org.bson.RawBsonDocument.bytes:[B
aload 2
invokestatic org.bson.RawBsonValueHelper.decode:([BLorg/bson/BsonBinaryReader;)Lorg/bson/BsonValue;
astore 4
6: aload 2
invokevirtual org.bson.BsonBinaryReader.close:()V
7: aload 4
areturn
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.bson.BsonBinaryReader.skipValue:()V
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.bson.BsonBinaryReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 4
10: aload 2
invokevirtual org.bson.BsonBinaryReader.readEndDocument:()V
11: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 3
13: aload 2
invokevirtual org.bson.BsonBinaryReader.close:()V
14: aload 3
athrow
15: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.bson.BsonBinaryReader.close:()V
16: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/bson/RawBsonDocument;
0 17 1 key Ljava/lang/Object;
2 17 2 bsonReader Lorg/bson/BsonBinaryReader;
Exception table:
from to target type
2 6 12 any
8 12 12 any
MethodParameters:
Name Flags
key final
public java.lang.String toJson();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new org.bson.json.JsonWriterSettings
dup
invokespecial org.bson.json.JsonWriterSettings.<init>:()V
invokevirtual org.bson.RawBsonDocument.toJson:(Lorg/bson/json/JsonWriterSettings;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
public java.lang.String toJson(org.bson.json.JsonWriterSettings);
descriptor: (Lorg/bson/json/JsonWriterSettings;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 2
start local 2 1: new org.bson.codecs.RawBsonDocumentCodec
dup
invokespecial org.bson.codecs.RawBsonDocumentCodec.<init>:()V
new org.bson.json.JsonWriter
dup
aload 2
aload 1
invokespecial org.bson.json.JsonWriter.<init>:(Ljava/io/Writer;Lorg/bson/json/JsonWriterSettings;)V
aload 0
invokestatic org.bson.codecs.EncoderContext.builder:()Lorg/bson/codecs/EncoderContext$Builder;
invokevirtual org.bson.codecs.EncoderContext$Builder.build:()Lorg/bson/codecs/EncoderContext;
invokevirtual org.bson.codecs.RawBsonDocumentCodec.encode:(Lorg/bson/BsonWriter;Lorg/bson/RawBsonDocument;Lorg/bson/codecs/EncoderContext;)V
2: aload 2
invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/RawBsonDocument;
0 3 1 settings Lorg/bson/json/JsonWriterSettings;
1 3 2 writer Ljava/io/StringWriter;
MethodParameters:
Name Flags
settings final
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bson.RawBsonDocument.toBsonDocument:()Lorg/bson/BsonDocument;
aload 1
invokevirtual org.bson.BsonDocument.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
0 1 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bson.RawBsonDocument.toBsonDocument:()Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
public org.bson.BsonDocument clone();
descriptor: ()Lorg/bson/BsonDocument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.bson.RawBsonDocument
dup
aload 0
getfield org.bson.RawBsonDocument.bytes:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
aload 0
getfield org.bson.RawBsonDocument.offset:I
aload 0
getfield org.bson.RawBsonDocument.length:I
invokespecial org.bson.RawBsonDocument.<init>:([BII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
private org.bson.BsonBinaryReader createReader();
descriptor: ()Lorg/bson/BsonBinaryReader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.bson.BsonBinaryReader
dup
new org.bson.io.ByteBufferBsonInput
dup
aload 0
invokevirtual org.bson.RawBsonDocument.getByteBuffer:()Lorg/bson/ByteBuf;
invokespecial org.bson.io.ByteBufferBsonInput.<init>:(Lorg/bson/ByteBuf;)V
invokespecial org.bson.BsonBinaryReader.<init>:(Lorg/bson/io/BsonInput;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
private org.bson.BsonDocument toBsonDocument();
descriptor: ()Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.bson.RawBsonDocument.createReader:()Lorg/bson/BsonBinaryReader;
astore 1
start local 1 1: new org.bson.codecs.BsonDocumentCodec
dup
invokespecial org.bson.codecs.BsonDocumentCodec.<init>:()V
aload 1
invokestatic org.bson.codecs.DecoderContext.builder:()Lorg/bson/codecs/DecoderContext$Builder;
invokevirtual org.bson.codecs.DecoderContext$Builder.build:()Lorg/bson/codecs/DecoderContext;
invokevirtual org.bson.codecs.BsonDocumentCodec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Lorg/bson/BsonDocument;
astore 3
2: aload 1
invokevirtual org.bson.BsonBinaryReader.close:()V
3: aload 3
areturn
4: StackMap locals: org.bson.RawBsonDocument org.bson.BsonBinaryReader
StackMap stack: java.lang.Throwable
astore 2
5: aload 1
invokevirtual org.bson.BsonBinaryReader.close:()V
6: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bson/RawBsonDocument;
1 7 1 bsonReader Lorg/bson/BsonBinaryReader;
Exception table:
from to target type
1 2 4 any
private java.lang.Object writeReplace();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.bson.RawBsonDocument$SerializationProxy
dup
aload 0
getfield org.bson.RawBsonDocument.bytes:[B
aload 0
getfield org.bson.RawBsonDocument.offset:I
aload 0
getfield org.bson.RawBsonDocument.length:I
invokespecial org.bson.RawBsonDocument$SerializationProxy.<init>:([BII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.io.InvalidObjectException
dup
ldc "Proxy required"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/RawBsonDocument;
0 1 1 stream Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.InvalidObjectException
MethodParameters:
Name Flags
stream final
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.bson.RawBsonDocument.clone:()Lorg/bson/BsonDocument;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.CloneNotSupportedException
}
SourceFile: "RawBsonDocument.java"
NestMembers:
org.bson.RawBsonDocument$SerializationProxy
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private SerializationProxy = org.bson.RawBsonDocument$SerializationProxy of org.bson.RawBsonDocument
public final Builder = org.bson.codecs.DecoderContext$Builder of org.bson.codecs.DecoderContext
public final Builder = org.bson.codecs.EncoderContext$Builder of org.bson.codecs.EncoderContext