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 // int limit
        start local 1 // int batchSize
        start local 2 // int numReturnedSoFar
         0: .line 41
            iload 0 /* limit */
            invokestatic java.lang.Math.abs:(I)I
            ifeq 5
         1: .line 42
            iload 0 /* limit */
            invokestatic java.lang.Math.abs:(I)I
            iload 2 /* numReturnedSoFar */
            isub
            istore 3 /* numberToReturn */
        start local 3 // int numberToReturn
         2: .line 43
            iload 1 /* batchSize */
            ifeq 6
            iload 3 /* numberToReturn */
            iload 1 /* batchSize */
            invokestatic java.lang.Math.abs:(I)I
            if_icmple 6
         3: .line 44
            iload 1 /* batchSize */
            istore 3 /* numberToReturn */
         4: .line 46
            goto 6
        end local 3 // int numberToReturn
         5: .line 47
      StackMap locals:
      StackMap stack:
            iload 1 /* batchSize */
            istore 3 /* numberToReturn */
        start local 3 // int numberToReturn
         6: .line 49
      StackMap locals: int
      StackMap stack:
            iload 3 /* numberToReturn */
            ireturn
        end local 3 // int numberToReturn
        end local 2 // int numReturnedSoFar
        end local 1 // int batchSize
        end local 0 // int limit
      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 // java.lang.Integer batchSize
         0: .line 53
            aload 0 /* batchSize */
            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 /* batchSize */
            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 // java.lang.Integer batchSize
      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 // com.mongodb.operation.CursorHelper this
         0: .line 56
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 57
            return
        end local 0 // com.mongodb.operation.CursorHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/mongodb/operation/CursorHelper;
}
SourceFile: "CursorHelper.java"