public class com.mongodb.internal.connection.ReplyMessage<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.internal.connection.ReplyMessage
super_class: java.lang.Object
{
private final com.mongodb.internal.connection.ReplyHeader ;
descriptor: Lcom/mongodb/internal/connection/ReplyHeader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<T> documents;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<TT;>;
public void <init>(com.mongodb.internal.connection.ResponseBuffers, org.bson.codecs.Decoder<T>, );
descriptor: (Lcom/mongodb/internal/connection/ResponseBuffers;Lorg/bson/codecs/Decoder;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual com.mongodb.internal.connection.ResponseBuffers.getReplyHeader:()Lcom/mongodb/internal/connection/ReplyHeader;
lload 3
invokespecial com.mongodb.internal.connection.ReplyMessage.<init>:(Lcom/mongodb/internal/connection/ReplyHeader;J)V
1: aload 0
getfield com.mongodb.internal.connection.ReplyMessage.replyHeader:Lcom/mongodb/internal/connection/ReplyHeader;
invokevirtual com.mongodb.internal.connection.ReplyHeader.getNumberReturned:()I
ifle 19
2: new org.bson.io.ByteBufferBsonInput
dup
aload 1
invokevirtual com.mongodb.internal.connection.ResponseBuffers.getBodyByteBuffer:()Lorg/bson/ByteBuf;
invokeinterface org.bson.ByteBuf.duplicate:()Lorg/bson/ByteBuf;
invokespecial org.bson.io.ByteBufferBsonInput.<init>:(Lorg/bson/ByteBuf;)V
astore 5
start local 5 3: goto 11
4: StackMap locals: com.mongodb.internal.connection.ReplyMessage com.mongodb.internal.connection.ResponseBuffers org.bson.codecs.Decoder long org.bson.io.BsonInput
StackMap stack:
new org.bson.BsonBinaryReader
dup
aload 5
invokespecial org.bson.BsonBinaryReader.<init>:(Lorg/bson/io/BsonInput;)V
astore 6
start local 6 5: aload 0
getfield com.mongodb.internal.connection.ReplyMessage.documents:Ljava/util/List;
aload 2
aload 6
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;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: goto 10
StackMap locals: com.mongodb.internal.connection.ReplyMessage com.mongodb.internal.connection.ResponseBuffers org.bson.codecs.Decoder long org.bson.io.BsonInput org.bson.BsonBinaryReader
StackMap stack: java.lang.Throwable
7: astore 7
8: aload 6
invokevirtual org.bson.BsonBinaryReader.close:()V
9: aload 7
athrow
10: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.bson.BsonBinaryReader.close:()V
end local 6 11: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.ReplyMessage.documents:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 0
getfield com.mongodb.internal.connection.ReplyMessage.replyHeader:Lcom/mongodb/internal/connection/ReplyHeader;
invokevirtual com.mongodb.internal.connection.ReplyHeader.getNumberReturned:()I
if_icmplt 4
12: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 8
14: aload 5
invokeinterface org.bson.io.BsonInput.close:()V
15: aload 1
invokevirtual com.mongodb.internal.connection.ResponseBuffers.reset:()V
16: aload 8
athrow
17: StackMap locals:
StackMap stack:
aload 5
invokeinterface org.bson.io.BsonInput.close:()V
18: aload 1
invokevirtual com.mongodb.internal.connection.ResponseBuffers.reset:()V
end local 5 19: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/mongodb/internal/connection/ReplyMessage<TT;>;
0 20 1 responseBuffers Lcom/mongodb/internal/connection/ResponseBuffers;
0 20 2 decoder Lorg/bson/codecs/Decoder<TT;>;
0 20 3 requestId J
3 19 5 bsonInput Lorg/bson/io/BsonInput;
5 11 6 reader Lorg/bson/BsonBinaryReader;
Exception table:
from to target type
5 7 7 any
3 13 13 any
Signature: (Lcom/mongodb/internal/connection/ResponseBuffers;Lorg/bson/codecs/Decoder<TT;>;J)V
MethodParameters:
Name Flags
responseBuffers final
decoder final
requestId final
void (com.mongodb.internal.connection.ReplyHeader, long);
descriptor: (Lcom/mongodb/internal/connection/ReplyHeader;J)V
flags: (0x0000)
Code:
stack=8, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: lload 2
aload 1
invokevirtual com.mongodb.internal.connection.ReplyHeader.getResponseTo:()I
i2l
lcmp
ifeq 5
2: new com.mongodb.MongoInternalException
dup
ldc "The responseTo (%d) in the response does not match the requestId (%d) in the request"
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: aload 1
invokevirtual com.mongodb.internal.connection.ReplyHeader.getResponseTo:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.mongodb.MongoInternalException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: com.mongodb.internal.connection.ReplyMessage com.mongodb.internal.connection.ReplyHeader long
StackMap stack:
aload 0
aload 1
putfield com.mongodb.internal.connection.ReplyMessage.replyHeader:Lcom/mongodb/internal/connection/ReplyHeader;
6: aload 0
new java.util.ArrayList
dup
aload 1
invokevirtual com.mongodb.internal.connection.ReplyHeader.getNumberReturned:()I
invokespecial java.util.ArrayList.<init>:(I)V
putfield com.mongodb.internal.connection.ReplyMessage.documents:Ljava/util/List;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/internal/connection/ReplyMessage<TT;>;
0 8 1 replyHeader Lcom/mongodb/internal/connection/ReplyHeader;
0 8 2 requestId J
MethodParameters:
Name Flags
replyHeader final
requestId final
public com.mongodb.internal.connection.ReplyHeader ();
descriptor: ()Lcom/mongodb/internal/connection/ReplyHeader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.ReplyMessage.replyHeader:Lcom/mongodb/internal/connection/ReplyHeader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/ReplyMessage<TT;>;
public java.util.List<T> getDocuments();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.ReplyMessage.documents:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/ReplyMessage<TT;>;
Signature: ()Ljava/util/List<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ReplyMessage.java"
InnerClasses:
public final Builder = org.bson.codecs.DecoderContext$Builder of org.bson.codecs.DecoderContext