class
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.CompressedHeader
super_class: java.lang.Object
{
public static final int ;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 9
public static final int ;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 25
private final int ;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int ;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte ;
descriptor: B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.internal.connection.MessageHeader ;
descriptor: Lcom/mongodb/internal/connection/MessageHeader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void (org.bson.ByteBuf, com.mongodb.internal.connection.MessageHeader);
descriptor: (Lorg/bson/ByteBuf;Lcom/mongodb/internal/connection/MessageHeader;)V
flags: (0x0000)
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield com.mongodb.internal.connection.CompressedHeader.messageHeader:Lcom/mongodb/internal/connection/MessageHeader;
2: aload 2
invokevirtual com.mongodb.internal.connection.MessageHeader.getOpCode:()I
getstatic com.mongodb.internal.connection.OpCode.OP_COMPRESSED:Lcom/mongodb/internal/connection/OpCode;
invokevirtual com.mongodb.internal.connection.OpCode.getValue:()I
if_icmpeq 6
3: new com.mongodb.MongoInternalException
dup
ldc "The reply message opCode %d does not match the expected opCode %d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
4: aload 2
invokevirtual com.mongodb.internal.connection.MessageHeader.getOpCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
getstatic com.mongodb.internal.connection.OpCode.OP_COMPRESSED:Lcom/mongodb/internal/connection/OpCode;
invokevirtual com.mongodb.internal.connection.OpCode.getValue:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.mongodb.MongoInternalException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: com.mongodb.internal.connection.CompressedHeader org.bson.ByteBuf com.mongodb.internal.connection.MessageHeader
StackMap stack:
aload 2
invokevirtual com.mongodb.internal.connection.MessageHeader.getMessageLength:()I
bipush 25
if_icmpge 10
7: new com.mongodb.MongoInternalException
dup
ldc "The reply message length %d is less than the mimimum message length %d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
8: aload 2
invokevirtual com.mongodb.internal.connection.MessageHeader.getMessageLength:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 9
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
9: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.mongodb.MongoInternalException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface org.bson.ByteBuf.getInt:()I
putfield com.mongodb.internal.connection.CompressedHeader.originalOpcode:I
11: aload 0
aload 1
invokeinterface org.bson.ByteBuf.getInt:()I
putfield com.mongodb.internal.connection.CompressedHeader.uncompressedSize:I
12: aload 0
aload 1
invokeinterface org.bson.ByteBuf.get:()B
putfield com.mongodb.internal.connection.CompressedHeader.compressorId:B
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/mongodb/internal/connection/CompressedHeader;
0 14 1 header Lorg/bson/ByteBuf;
0 14 2 messageHeader Lcom/mongodb/internal/connection/MessageHeader;
MethodParameters:
Name Flags
header final
messageHeader final
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.CompressedHeader.originalOpcode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/CompressedHeader;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.CompressedHeader.uncompressedSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/CompressedHeader;
public byte ();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.CompressedHeader.compressorId:B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/CompressedHeader;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.CompressedHeader.messageHeader:Lcom/mongodb/internal/connection/MessageHeader;
invokevirtual com.mongodb.internal.connection.MessageHeader.getMessageLength:()I
bipush 9
isub
bipush 16
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/CompressedHeader;
public com.mongodb.internal.connection.MessageHeader ();
descriptor: ()Lcom/mongodb/internal/connection/MessageHeader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.CompressedHeader.messageHeader:Lcom/mongodb/internal/connection/MessageHeader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/CompressedHeader;
}
SourceFile: "CompressedHeader.java"