final class com.mongodb.operation.CursorHelper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.operation.CursorHelper
super_class: java.lang.Object
{
static int getNumberToReturn(int, int, int);
descriptor: (III)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 0
invokestatic java.lang.Math.abs:(I)I
ifeq 5
1: iload 0
invokestatic java.lang.Math.abs:(I)I
iload 2
isub
istore 3
start local 3 2: iload 1
ifeq 6
iload 3
iload 1
invokestatic java.lang.Math.abs:(I)I
if_icmple 6
3: iload 1
istore 3
4: goto 6
end local 3 5: StackMap locals:
StackMap stack:
iload 1
istore 3
start local 3 6: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 limit I
0 7 1 batchSize I
0 7 2 numReturnedSoFar I
2 5 3 numberToReturn I
6 7 3 numberToReturn I
MethodParameters:
Name Flags
limit final
batchSize final
numReturnedSoFar final
static org.bson.BsonDocument getCursorDocumentFromBatchSize(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)Lorg/bson/BsonDocument;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
new org.bson.BsonDocument
dup
invokespecial org.bson.BsonDocument.<init>:()V
goto 2
StackMap locals:
StackMap stack:
1: new org.bson.BsonDocument
dup
ldc "batchSize"
new org.bson.BsonInt32
dup
aload 0
invokevirtual java.lang.Integer.intValue:()I
invokespecial org.bson.BsonInt32.<init>:(I)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
StackMap locals:
StackMap stack: org.bson.BsonDocument
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 batchSize Ljava/lang/Integer;
MethodParameters:
Name Flags
batchSize 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 Lcom/mongodb/operation/CursorHelper;
}
SourceFile: "CursorHelper.java"