class com.mongodb.operation.QueryBatchCursor<T> implements com.mongodb.operation.AggregateResponseBatchCursor<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.mongodb.operation.QueryBatchCursor
  super_class: java.lang.Object
{
  private static final org.bson.FieldNameValidator NO_OP_FIELD_NAME_VALIDATOR;
    descriptor: Lorg/bson/FieldNameValidator;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.String CURSOR;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "cursor"

  private static final java.lang.String POST_BATCH_RESUME_TOKEN;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "postBatchResumeToken"

  private static final java.lang.String OPERATION_TIME;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "operationTime"

  private final com.mongodb.MongoNamespace namespace;
    descriptor: Lcom/mongodb/MongoNamespace;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.mongodb.ServerAddress serverAddress;
    descriptor: Lcom/mongodb/ServerAddress;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int limit;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final org.bson.codecs.Decoder<T> decoder;
    descriptor: Lorg/bson/codecs/Decoder;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lorg/bson/codecs/Decoder<TT;>;

  private final long maxTimeMS;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int batchSize;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private com.mongodb.binding.ConnectionSource connectionSource;
    descriptor: Lcom/mongodb/binding/ConnectionSource;
    flags: (0x0002) ACC_PRIVATE

  private com.mongodb.ServerCursor serverCursor;
    descriptor: Lcom/mongodb/ServerCursor;
    flags: (0x0002) ACC_PRIVATE

  private java.util.List<T> nextBatch;
    descriptor: Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/List<TT;>;

  private int count;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private volatile boolean closed;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private org.bson.BsonDocument postBatchResumeToken;
    descriptor: Lorg/bson/BsonDocument;
    flags: (0x0002) ACC_PRIVATE

  private org.bson.BsonTimestamp operationTime;
    descriptor: Lorg/bson/BsonTimestamp;
    flags: (0x0002) ACC_PRIVATE

  private boolean firstBatchEmpty;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 51
            new com.mongodb.internal.validator.NoOpFieldNameValidator
            dup
            invokespecial com.mongodb.internal.validator.NoOpFieldNameValidator.<init>:()V
            putstatic com.mongodb.operation.QueryBatchCursor.NO_OP_FIELD_NAME_VALIDATOR:Lorg/bson/FieldNameValidator;
         1: .line 54
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(com.mongodb.connection.QueryResult<T>, int, int, org.bson.codecs.Decoder<T>);
    descriptor: (Lcom/mongodb/connection/QueryResult;IILorg/bson/codecs/Decoder;)V
    flags: (0x0000) 
    Code:
      stack=6, locals=5, args_size=5
        start local 0 // com.mongodb.operation.QueryBatchCursor this
        start local 1 // com.mongodb.connection.QueryResult firstQueryResult
        start local 2 // int limit
        start local 3 // int batchSize
        start local 4 // org.bson.codecs.Decoder decoder
         0: .line 72
            aload 0 /* this */
            aload 1 /* firstQueryResult */
            iload 2 /* limit */
            iload 3 /* batchSize */
            aload 4 /* decoder */
            aconst_null
            invokespecial com.mongodb.operation.QueryBatchCursor.<init>:(Lcom/mongodb/connection/QueryResult;IILorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;)V
         1: .line 73
            return
        end local 4 // org.bson.codecs.Decoder decoder
        end local 3 // int batchSize
        end local 2 // int limit
        end local 1 // com.mongodb.connection.QueryResult firstQueryResult
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    2     0              this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            0    2     1  firstQueryResult  Lcom/mongodb/connection/QueryResult<TT;>;
            0    2     2             limit  I
            0    2     3         batchSize  I
            0    2     4           decoder  Lorg/bson/codecs/Decoder<TT;>;
    Signature: (Lcom/mongodb/connection/QueryResult<TT;>;IILorg/bson/codecs/Decoder<TT;>;)V
    MethodParameters:
                  Name  Flags
      firstQueryResult  final
      limit             final
      batchSize         final
      decoder           final

  void <init>(com.mongodb.connection.QueryResult<T>, int, int, org.bson.codecs.Decoder<T>, com.mongodb.binding.ConnectionSource);
    descriptor: (Lcom/mongodb/connection/QueryResult;IILorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;)V
    flags: (0x0000) 
    Code:
      stack=10, locals=6, args_size=6
        start local 0 // com.mongodb.operation.QueryBatchCursor this
        start local 1 // com.mongodb.connection.QueryResult firstQueryResult
        start local 2 // int limit
        start local 3 // int batchSize
        start local 4 // org.bson.codecs.Decoder decoder
        start local 5 // com.mongodb.binding.ConnectionSource connectionSource
         0: .line 77
            aload 0 /* this */
            aload 1 /* firstQueryResult */
            iload 2 /* limit */
            iload 3 /* batchSize */
            lconst_0
            aload 4 /* decoder */
            aload 5 /* connectionSource */
            aconst_null
            aconst_null
            invokespecial com.mongodb.operation.QueryBatchCursor.<init>:(Lcom/mongodb/connection/QueryResult;IIJLorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;Lorg/bson/BsonDocument;)V
         1: .line 78
            return
        end local 5 // com.mongodb.binding.ConnectionSource connectionSource
        end local 4 // org.bson.codecs.Decoder decoder
        end local 3 // int batchSize
        end local 2 // int limit
        end local 1 // com.mongodb.connection.QueryResult firstQueryResult
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    2     0              this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            0    2     1  firstQueryResult  Lcom/mongodb/connection/QueryResult<TT;>;
            0    2     2             limit  I
            0    2     3         batchSize  I
            0    2     4           decoder  Lorg/bson/codecs/Decoder<TT;>;
            0    2     5  connectionSource  Lcom/mongodb/binding/ConnectionSource;
    Signature: (Lcom/mongodb/connection/QueryResult<TT;>;IILorg/bson/codecs/Decoder<TT;>;Lcom/mongodb/binding/ConnectionSource;)V
    MethodParameters:
                  Name  Flags
      firstQueryResult  final
      limit             final
      batchSize         final
      decoder           final
      connectionSource  final

  void <init>(com.mongodb.connection.QueryResult<T>, int, int, org.bson.codecs.Decoder<T>, com.mongodb.binding.ConnectionSource, com.mongodb.connection.Connection);
    descriptor: (Lcom/mongodb/connection/QueryResult;IILorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;)V
    flags: (0x0000) 
    Code:
      stack=10, locals=7, args_size=7
        start local 0 // com.mongodb.operation.QueryBatchCursor this
        start local 1 // com.mongodb.connection.QueryResult firstQueryResult
        start local 2 // int limit
        start local 3 // int batchSize
        start local 4 // org.bson.codecs.Decoder decoder
        start local 5 // com.mongodb.binding.ConnectionSource connectionSource
        start local 6 // com.mongodb.connection.Connection connection
         0: .line 82
            aload 0 /* this */
            aload 1 /* firstQueryResult */
            iload 2 /* limit */
            iload 3 /* batchSize */
            lconst_0
            aload 4 /* decoder */
            aload 5 /* connectionSource */
            aload 6 /* connection */
            aconst_null
            invokespecial com.mongodb.operation.QueryBatchCursor.<init>:(Lcom/mongodb/connection/QueryResult;IIJLorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;Lorg/bson/BsonDocument;)V
         1: .line 83
            return
        end local 6 // com.mongodb.connection.Connection connection
        end local 5 // com.mongodb.binding.ConnectionSource connectionSource
        end local 4 // org.bson.codecs.Decoder decoder
        end local 3 // int batchSize
        end local 2 // int limit
        end local 1 // com.mongodb.connection.QueryResult firstQueryResult
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    2     0              this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            0    2     1  firstQueryResult  Lcom/mongodb/connection/QueryResult<TT;>;
            0    2     2             limit  I
            0    2     3         batchSize  I
            0    2     4           decoder  Lorg/bson/codecs/Decoder<TT;>;
            0    2     5  connectionSource  Lcom/mongodb/binding/ConnectionSource;
            0    2     6        connection  Lcom/mongodb/connection/Connection;
    Signature: (Lcom/mongodb/connection/QueryResult<TT;>;IILorg/bson/codecs/Decoder<TT;>;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;)V
    MethodParameters:
                  Name  Flags
      firstQueryResult  final
      limit             final
      batchSize         final
      decoder           final
      connectionSource  final
      connection        final

  void <init>(com.mongodb.connection.QueryResult<T>, int, int, long, org.bson.codecs.Decoder<T>, com.mongodb.binding.ConnectionSource, com.mongodb.connection.Connection);
    descriptor: (Lcom/mongodb/connection/QueryResult;IIJLorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;)V
    flags: (0x0000) 
    Code:
      stack=10, locals=9, args_size=8
        start local 0 // com.mongodb.operation.QueryBatchCursor this
        start local 1 // com.mongodb.connection.QueryResult firstQueryResult
        start local 2 // int limit
        start local 3 // int batchSize
        start local 4 // long maxTimeMS
        start local 6 // org.bson.codecs.Decoder decoder
        start local 7 // com.mongodb.binding.ConnectionSource connectionSource
        start local 8 // com.mongodb.connection.Connection connection
         0: .line 87
            aload 0 /* this */
            aload 1 /* firstQueryResult */
            iload 2 /* limit */
            iload 3 /* batchSize */
            lload 4 /* maxTimeMS */
            aload 6 /* decoder */
            aload 7 /* connectionSource */
            aload 8 /* connection */
            aconst_null
            invokespecial com.mongodb.operation.QueryBatchCursor.<init>:(Lcom/mongodb/connection/QueryResult;IIJLorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;Lorg/bson/BsonDocument;)V
         1: .line 88
            return
        end local 8 // com.mongodb.connection.Connection connection
        end local 7 // com.mongodb.binding.ConnectionSource connectionSource
        end local 6 // org.bson.codecs.Decoder decoder
        end local 4 // long maxTimeMS
        end local 3 // int batchSize
        end local 2 // int limit
        end local 1 // com.mongodb.connection.QueryResult firstQueryResult
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    2     0              this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            0    2     1  firstQueryResult  Lcom/mongodb/connection/QueryResult<TT;>;
            0    2     2             limit  I
            0    2     3         batchSize  I
            0    2     4         maxTimeMS  J
            0    2     6           decoder  Lorg/bson/codecs/Decoder<TT;>;
            0    2     7  connectionSource  Lcom/mongodb/binding/ConnectionSource;
            0    2     8        connection  Lcom/mongodb/connection/Connection;
    Signature: (Lcom/mongodb/connection/QueryResult<TT;>;IIJLorg/bson/codecs/Decoder<TT;>;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;)V
    MethodParameters:
                  Name  Flags
      firstQueryResult  final
      limit             final
      batchSize         final
      maxTimeMS         final
      decoder           final
      connectionSource  final
      connection        final

  void <init>(com.mongodb.connection.QueryResult<T>, int, int, long, org.bson.codecs.Decoder<T>, com.mongodb.binding.ConnectionSource, com.mongodb.connection.Connection, org.bson.BsonDocument);
    descriptor: (Lcom/mongodb/connection/QueryResult;IIJLorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;Lorg/bson/BsonDocument;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=10, args_size=9
        start local 0 // com.mongodb.operation.QueryBatchCursor this
        start local 1 // com.mongodb.connection.QueryResult firstQueryResult
        start local 2 // int limit
        start local 3 // int batchSize
        start local 4 // long maxTimeMS
        start local 6 // org.bson.codecs.Decoder decoder
        start local 7 // com.mongodb.binding.ConnectionSource connectionSource
        start local 8 // com.mongodb.connection.Connection connection
        start local 9 // org.bson.BsonDocument result
         0: .line 90
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 93
            ldc "maxTimeMS >= 0"
            lload 4 /* maxTimeMS */
            lconst_0
            lcmp
            iflt 2
            iconst_1
            goto 3
      StackMap locals: com.mongodb.operation.QueryBatchCursor com.mongodb.connection.QueryResult int int long org.bson.codecs.Decoder com.mongodb.binding.ConnectionSource com.mongodb.connection.Connection org.bson.BsonDocument
      StackMap stack: java.lang.String
         2: iconst_0
      StackMap locals: com.mongodb.operation.QueryBatchCursor com.mongodb.connection.QueryResult int int long org.bson.codecs.Decoder com.mongodb.binding.ConnectionSource com.mongodb.connection.Connection org.bson.BsonDocument
      StackMap stack: java.lang.String int
         3: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
         4: .line 94
            aload 0 /* this */
            lload 4 /* maxTimeMS */
            putfield com.mongodb.operation.QueryBatchCursor.maxTimeMS:J
         5: .line 95
            aload 0 /* this */
            aload 1 /* firstQueryResult */
            invokevirtual com.mongodb.connection.QueryResult.getNamespace:()Lcom/mongodb/MongoNamespace;
            putfield com.mongodb.operation.QueryBatchCursor.namespace:Lcom/mongodb/MongoNamespace;
         6: .line 96
            aload 0 /* this */
            aload 1 /* firstQueryResult */
            invokevirtual com.mongodb.connection.QueryResult.getAddress:()Lcom/mongodb/ServerAddress;
            putfield com.mongodb.operation.QueryBatchCursor.serverAddress:Lcom/mongodb/ServerAddress;
         7: .line 97
            aload 0 /* this */
            iload 2 /* limit */
            putfield com.mongodb.operation.QueryBatchCursor.limit:I
         8: .line 98
            aload 0 /* this */
            iload 3 /* batchSize */
            putfield com.mongodb.operation.QueryBatchCursor.batchSize:I
         9: .line 99
            aload 0 /* this */
            ldc "decoder"
            aload 6 /* decoder */
            invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.bson.codecs.Decoder
            putfield com.mongodb.operation.QueryBatchCursor.decoder:Lorg/bson/codecs/Decoder;
        10: .line 100
            aload 9 /* result */
            ifnull 12
        11: .line 101
            aload 0 /* this */
            aload 9 /* result */
            ldc "operationTime"
            aconst_null
            invokevirtual org.bson.BsonDocument.getTimestamp:(Ljava/lang/Object;Lorg/bson/BsonTimestamp;)Lorg/bson/BsonTimestamp;
            putfield com.mongodb.operation.QueryBatchCursor.operationTime:Lorg/bson/BsonTimestamp;
        12: .line 103
      StackMap locals:
      StackMap stack:
            aload 1 /* firstQueryResult */
            invokevirtual com.mongodb.connection.QueryResult.getCursor:()Lcom/mongodb/ServerCursor;
            ifnull 14
        13: .line 104
            ldc "connectionSource"
            aload 7 /* connectionSource */
            invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        14: .line 106
      StackMap locals:
      StackMap stack:
            aload 7 /* connectionSource */
            ifnull 17
        15: .line 107
            aload 0 /* this */
            aload 7 /* connectionSource */
            invokeinterface com.mongodb.binding.ConnectionSource.retain:()Lcom/mongodb/binding/ConnectionSource;
            putfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
        16: .line 108
            goto 18
        17: .line 109
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
        18: .line 112
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* firstQueryResult */
            invokevirtual com.mongodb.operation.QueryBatchCursor.initFromQueryResult:(Lcom/mongodb/connection/QueryResult;)V
        19: .line 113
            aload 0 /* this */
            aload 1 /* firstQueryResult */
            invokevirtual com.mongodb.connection.QueryResult.getResults:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            putfield com.mongodb.operation.QueryBatchCursor.firstBatchEmpty:Z
        20: .line 114
            aload 0 /* this */
            invokevirtual com.mongodb.operation.QueryBatchCursor.limitReached:()Z
            ifeq 22
        21: .line 115
            aload 0 /* this */
            aload 8 /* connection */
            invokevirtual com.mongodb.operation.QueryBatchCursor.killCursor:(Lcom/mongodb/connection/Connection;)V
        22: .line 117
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
            ifnonnull 25
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
            ifnull 25
        23: .line 118
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
            invokeinterface com.mongodb.binding.ConnectionSource.release:()V
        24: .line 119
            aload 0 /* this */
            aconst_null
            putfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
        25: .line 121
      StackMap locals:
      StackMap stack:
            return
        end local 9 // org.bson.BsonDocument result
        end local 8 // com.mongodb.connection.Connection connection
        end local 7 // com.mongodb.binding.ConnectionSource connectionSource
        end local 6 // org.bson.codecs.Decoder decoder
        end local 4 // long maxTimeMS
        end local 3 // int batchSize
        end local 2 // int limit
        end local 1 // com.mongodb.connection.QueryResult firstQueryResult
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   26     0              this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            0   26     1  firstQueryResult  Lcom/mongodb/connection/QueryResult<TT;>;
            0   26     2             limit  I
            0   26     3         batchSize  I
            0   26     4         maxTimeMS  J
            0   26     6           decoder  Lorg/bson/codecs/Decoder<TT;>;
            0   26     7  connectionSource  Lcom/mongodb/binding/ConnectionSource;
            0   26     8        connection  Lcom/mongodb/connection/Connection;
            0   26     9            result  Lorg/bson/BsonDocument;
    Signature: (Lcom/mongodb/connection/QueryResult<TT;>;IIJLorg/bson/codecs/Decoder<TT;>;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;Lorg/bson/BsonDocument;)V
    MethodParameters:
                  Name  Flags
      firstQueryResult  final
      limit             final
      batchSize         final
      maxTimeMS         final
      decoder           final
      connectionSource  final
      connection        final
      result            final

  public boolean hasNext();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 125
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.closed:Z
            ifeq 2
         1: .line 126
            new java.lang.IllegalStateException
            dup
            ldc "Cursor has been closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 129
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
            ifnull 4
         3: .line 130
            iconst_1
            ireturn
         4: .line 133
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.operation.QueryBatchCursor.limitReached:()Z
            ifeq 11
         5: .line 134
            iconst_0
            ireturn
         6: .line 138
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.operation.QueryBatchCursor.getMore:()V
         7: .line 139
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.closed:Z
            ifeq 9
         8: .line 140
            new java.lang.IllegalStateException
            dup
            ldc "Cursor has been closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         9: .line 142
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
            ifnull 11
        10: .line 143
            iconst_1
            ireturn
        11: .line 137
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
            ifnonnull 6
        12: .line 147
            iconst_0
            ireturn
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;

  public java.util.List<T> next();
    descriptor: ()Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 152
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.closed:Z
            ifeq 2
         1: .line 153
            new java.lang.IllegalStateException
            dup
            ldc "Iterator has been closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 156
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.operation.QueryBatchCursor.hasNext:()Z
            ifne 4
         3: .line 157
            new java.util.NoSuchElementException
            dup
            invokespecial java.util.NoSuchElementException.<init>:()V
            athrow
         4: .line 160
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
            astore 1 /* retVal */
        start local 1 // java.util.List retVal
         5: .line 161
            aload 0 /* this */
            aconst_null
            putfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
         6: .line 162
            aload 1 /* retVal */
            areturn
        end local 1 // java.util.List retVal
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            5    7     1  retVal  Ljava/util/List<TT;>;
    Signature: ()Ljava/util/List<TT;>;

  public void setBatchSize(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.operation.QueryBatchCursor this
        start local 1 // int batchSize
         0: .line 167
            aload 0 /* this */
            iload 1 /* batchSize */
            putfield com.mongodb.operation.QueryBatchCursor.batchSize:I
         1: .line 168
            return
        end local 1 // int batchSize
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            0    2     1  batchSize  I
    MethodParameters:
           Name  Flags
      batchSize  final

  public int getBatchSize();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 172
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.batchSize:I
            ireturn
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;

  public void remove();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 177
            new java.lang.UnsupportedOperationException
            dup
            ldc "Not implemented yet!"
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 182
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.closed:Z
            ifne 10
         1: .line 183
            aload 0 /* this */
            iconst_1
            putfield com.mongodb.operation.QueryBatchCursor.closed:Z
         2: .line 185
            aload 0 /* this */
            invokevirtual com.mongodb.operation.QueryBatchCursor.killCursor:()V
         3: .line 186
            goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         4: astore 1
         5: .line 187
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
            ifnull 7
         6: .line 188
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
            invokeinterface com.mongodb.binding.ConnectionSource.release:()V
         7: .line 190
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 1
            athrow
         8: .line 187
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
            ifnull 10
         9: .line 188
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
            invokeinterface com.mongodb.binding.ConnectionSource.release:()V
        10: .line 192
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
      Exception table:
        from    to  target  type
           2     4       4  any

  public java.util.List<T> tryNext();
    descriptor: ()Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 196
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.closed:Z
            ifeq 2
         1: .line 197
            new java.lang.IllegalStateException
            dup
            ldc "Cursor has been closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 200
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.operation.QueryBatchCursor.tryHasNext:()Z
            ifne 4
         3: .line 201
            aconst_null
            areturn
         4: .line 203
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.operation.QueryBatchCursor.next:()Ljava/util/List;
            areturn
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
    Signature: ()Ljava/util/List<TT;>;

  boolean tryHasNext();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 207
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
            ifnull 2
         1: .line 208
            iconst_1
            ireturn
         2: .line 211
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.operation.QueryBatchCursor.limitReached:()Z
            ifeq 4
         3: .line 212
            iconst_0
            ireturn
         4: .line 215
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
            ifnull 6
         5: .line 216
            aload 0 /* this */
            invokevirtual com.mongodb.operation.QueryBatchCursor.getMore:()V
         6: .line 219
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
            ifnull 7
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         7: iconst_0
            ireturn
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;

  public com.mongodb.ServerCursor getServerCursor();
    descriptor: ()Lcom/mongodb/ServerCursor;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 224
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.closed:Z
            ifeq 2
         1: .line 225
            new java.lang.IllegalStateException
            dup
            ldc "Iterator has been closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 228
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
            areturn
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;

  public com.mongodb.ServerAddress getServerAddress();
    descriptor: ()Lcom/mongodb/ServerAddress;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 233
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.closed:Z
            ifeq 2
         1: .line 234
            new java.lang.IllegalStateException
            dup
            ldc "Iterator has been closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 237
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.serverAddress:Lcom/mongodb/ServerAddress;
            areturn
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;

  public org.bson.BsonDocument getPostBatchResumeToken();
    descriptor: ()Lorg/bson/BsonDocument;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 242
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.postBatchResumeToken:Lorg/bson/BsonDocument;
            areturn
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;

  public org.bson.BsonTimestamp getOperationTime();
    descriptor: ()Lorg/bson/BsonTimestamp;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 247
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.operationTime:Lorg/bson/BsonTimestamp;
            areturn
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;

  public boolean isFirstBatchEmpty();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 252
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.firstBatchEmpty:Z
            ireturn
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;

  private void getMore();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=4, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 256
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
            invokeinterface com.mongodb.binding.ConnectionSource.getConnection:()Lcom/mongodb/connection/Connection;
            astore 1 /* connection */
        start local 1 // com.mongodb.connection.Connection connection
         1: .line 258
            aload 1 /* connection */
            invokeinterface com.mongodb.connection.Connection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            invokestatic com.mongodb.internal.operation.ServerVersionHelper.serverIsAtLeastVersionThreeDotTwo:(Lcom/mongodb/connection/ConnectionDescription;)Z
            ifeq 12
         2: .line 260
            aload 0 /* this */
            aload 1 /* connection */
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.namespace:Lcom/mongodb/MongoNamespace;
            invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
         3: .line 261
            aload 0 /* this */
            invokevirtual com.mongodb.operation.QueryBatchCursor.asGetMoreCommandDocument:()Lorg/bson/BsonDocument;
         4: .line 262
            getstatic com.mongodb.operation.QueryBatchCursor.NO_OP_FIELD_NAME_VALIDATOR:Lorg/bson/FieldNameValidator;
         5: .line 263
            invokestatic com.mongodb.ReadPreference.primary:()Lcom/mongodb/ReadPreference;
         6: .line 264
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.decoder:Lorg/bson/codecs/Decoder;
            ldc "nextBatch"
            invokestatic com.mongodb.operation.CommandResultDocumentCodec.create:(Lorg/bson/codecs/Decoder;Ljava/lang/String;)Lorg/bson/codecs/Codec;
         7: .line 265
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
            invokeinterface com.mongodb.binding.ConnectionSource.getSessionContext:()Lcom/mongodb/session/SessionContext;
         8: .line 260
            invokeinterface com.mongodb.connection.Connection.command:(Ljava/lang/String;Lorg/bson/BsonDocument;Lorg/bson/FieldNameValidator;Lcom/mongodb/ReadPreference;Lorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;)Ljava/lang/Object;
            checkcast org.bson.BsonDocument
            invokevirtual com.mongodb.operation.QueryBatchCursor.initFromCommandResult:(Lorg/bson/BsonDocument;)V
         9: .line 266
            goto 16
      StackMap locals: com.mongodb.operation.QueryBatchCursor com.mongodb.connection.Connection
      StackMap stack: com.mongodb.MongoCommandException
        10: astore 2 /* e */
        start local 2 // com.mongodb.MongoCommandException e
        11: .line 267
            aload 2 /* e */
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
            invokestatic com.mongodb.operation.QueryHelper.translateCommandException:(Lcom/mongodb/MongoCommandException;Lcom/mongodb/ServerCursor;)Lcom/mongodb/MongoQueryException;
            athrow
        end local 2 // com.mongodb.MongoCommandException e
        12: .line 270
      StackMap locals:
      StackMap stack:
            aload 1 /* connection */
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.namespace:Lcom/mongodb/MongoNamespace;
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
            invokevirtual com.mongodb.ServerCursor.getId:()J
        13: .line 271
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.limit:I
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.batchSize:I
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.count:I
            invokestatic com.mongodb.operation.CursorHelper.getNumberToReturn:(III)I
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.decoder:Lorg/bson/codecs/Decoder;
        14: .line 270
            invokeinterface com.mongodb.connection.Connection.getMore:(Lcom/mongodb/MongoNamespace;JILorg/bson/codecs/Decoder;)Lcom/mongodb/connection/QueryResult;
            astore 2 /* getMore */
        start local 2 // com.mongodb.connection.QueryResult getMore
        15: .line 272
            aload 0 /* this */
            aload 2 /* getMore */
            invokevirtual com.mongodb.operation.QueryBatchCursor.initFromQueryResult:(Lcom/mongodb/connection/QueryResult;)V
        end local 2 // com.mongodb.connection.QueryResult getMore
        16: .line 274
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.operation.QueryBatchCursor.limitReached:()Z
            ifeq 18
        17: .line 275
            aload 0 /* this */
            aload 1 /* connection */
            invokevirtual com.mongodb.operation.QueryBatchCursor.killCursor:(Lcom/mongodb/connection/Connection;)V
        18: .line 277
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
            ifnonnull 25
        19: .line 278
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
            invokeinterface com.mongodb.binding.ConnectionSource.release:()V
        20: .line 279
            aload 0 /* this */
            aconst_null
            putfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
        21: .line 281
            goto 25
      StackMap locals:
      StackMap stack: java.lang.Throwable
        22: astore 3
        23: .line 282
            aload 1 /* connection */
            invokeinterface com.mongodb.connection.Connection.release:()V
        24: .line 283
            aload 3
            athrow
        25: .line 282
      StackMap locals:
      StackMap stack:
            aload 1 /* connection */
            invokeinterface com.mongodb.connection.Connection.release:()V
        26: .line 284
            return
        end local 1 // com.mongodb.connection.Connection connection
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   27     0        this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            1   27     1  connection  Lcom/mongodb/connection/Connection;
           11   12     2           e  Lcom/mongodb/MongoCommandException;
           15   16     2     getMore  Lcom/mongodb/connection/QueryResult<TT;>;
      Exception table:
        from    to  target  type
           2     9      10  Class com.mongodb.MongoCommandException
           1    22      22  any

  private org.bson.BsonDocument asGetMoreCommandDocument();
    descriptor: ()Lorg/bson/BsonDocument;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=3, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 287
            new org.bson.BsonDocument
            dup
            ldc "getMore"
            new org.bson.BsonInt64
            dup
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
            invokevirtual com.mongodb.ServerCursor.getId:()J
            invokespecial org.bson.BsonInt64.<init>:(J)V
            invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
         1: .line 288
            ldc "collection"
            new org.bson.BsonString
            dup
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.namespace:Lcom/mongodb/MongoNamespace;
            invokevirtual com.mongodb.MongoNamespace.getCollectionName:()Ljava/lang/String;
            invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
         2: .line 287
            astore 1 /* document */
        start local 1 // org.bson.BsonDocument document
         3: .line 290
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.limit:I
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.batchSize:I
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.count:I
            invokestatic com.mongodb.operation.CursorHelper.getNumberToReturn:(III)I
            invokestatic java.lang.Math.abs:(I)I
            istore 2 /* batchSizeForGetMoreCommand */
        start local 2 // int batchSizeForGetMoreCommand
         4: .line 291
            iload 2 /* batchSizeForGetMoreCommand */
            ifeq 6
         5: .line 292
            aload 1 /* document */
            ldc "batchSize"
            new org.bson.BsonInt32
            dup
            iload 2 /* batchSizeForGetMoreCommand */
            invokespecial org.bson.BsonInt32.<init>:(I)V
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
         6: .line 294
      StackMap locals: org.bson.BsonDocument int
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.maxTimeMS:J
            lconst_0
            lcmp
            ifeq 8
         7: .line 295
            aload 1 /* document */
            ldc "maxTimeMS"
            new org.bson.BsonInt64
            dup
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.maxTimeMS:J
            invokespecial org.bson.BsonInt64.<init>:(J)V
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
         8: .line 298
      StackMap locals:
      StackMap stack:
            aload 1 /* document */
            areturn
        end local 2 // int batchSizeForGetMoreCommand
        end local 1 // org.bson.BsonDocument document
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot                        Name  Signature
            0    9     0                        this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            3    9     1                    document  Lorg/bson/BsonDocument;
            4    9     2  batchSizeForGetMoreCommand  I

  private void initFromQueryResult(com.mongodb.connection.QueryResult<T>);
    descriptor: (Lcom/mongodb/connection/QueryResult;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.mongodb.operation.QueryBatchCursor this
        start local 1 // com.mongodb.connection.QueryResult queryResult
         0: .line 302
            aload 0 /* this */
            aload 1 /* queryResult */
            invokevirtual com.mongodb.connection.QueryResult.getCursor:()Lcom/mongodb/ServerCursor;
            putfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
         1: .line 303
            aload 0 /* this */
            aload 1 /* queryResult */
            invokevirtual com.mongodb.connection.QueryResult.getResults:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 2
            aconst_null
            goto 3
      StackMap locals:
      StackMap stack: com.mongodb.operation.QueryBatchCursor
         2: aload 1 /* queryResult */
            invokevirtual com.mongodb.connection.QueryResult.getResults:()Ljava/util/List;
      StackMap locals: com.mongodb.operation.QueryBatchCursor com.mongodb.connection.QueryResult
      StackMap stack: com.mongodb.operation.QueryBatchCursor java.util.List
         3: putfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
         4: .line 304
            aload 0 /* this */
            dup
            getfield com.mongodb.operation.QueryBatchCursor.count:I
            aload 1 /* queryResult */
            invokevirtual com.mongodb.connection.QueryResult.getResults:()Ljava/util/List;
            invokeinterface java.util.List.size:()I
            iadd
            putfield com.mongodb.operation.QueryBatchCursor.count:I
         5: .line 305
            return
        end local 1 // com.mongodb.connection.QueryResult queryResult
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    6     0         this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            0    6     1  queryResult  Lcom/mongodb/connection/QueryResult<TT;>;
    Signature: (Lcom/mongodb/connection/QueryResult<TT;>;)V
    MethodParameters:
             Name  Flags
      queryResult  final

  private void initFromCommandResult(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // com.mongodb.operation.QueryBatchCursor this
        start local 1 // org.bson.BsonDocument getMoreCommandResultDocument
         0: .line 308
            aload 1 /* getMoreCommandResultDocument */
            ldc "cursor"
            invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;)Lorg/bson/BsonDocument;
         1: .line 309
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
            invokeinterface com.mongodb.binding.ConnectionSource.getServerDescription:()Lcom/mongodb/connection/ServerDescription;
            invokevirtual com.mongodb.connection.ServerDescription.getAddress:()Lcom/mongodb/ServerAddress;
         2: .line 308
            invokestatic com.mongodb.operation.OperationHelper.getMoreCursorDocumentToQueryResult:(Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)Lcom/mongodb/connection/QueryResult;
            astore 2 /* queryResult */
        start local 2 // com.mongodb.connection.QueryResult queryResult
         3: .line 310
            aload 0 /* this */
            aload 0 /* this */
            aload 1 /* getMoreCommandResultDocument */
            invokevirtual com.mongodb.operation.QueryBatchCursor.getPostBatchResumeTokenFromResponse:(Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
            putfield com.mongodb.operation.QueryBatchCursor.postBatchResumeToken:Lorg/bson/BsonDocument;
         4: .line 311
            aload 0 /* this */
            aload 1 /* getMoreCommandResultDocument */
            ldc "operationTime"
            aconst_null
            invokevirtual org.bson.BsonDocument.getTimestamp:(Ljava/lang/Object;Lorg/bson/BsonTimestamp;)Lorg/bson/BsonTimestamp;
            putfield com.mongodb.operation.QueryBatchCursor.operationTime:Lorg/bson/BsonTimestamp;
         5: .line 312
            aload 0 /* this */
            aload 2 /* queryResult */
            invokevirtual com.mongodb.operation.QueryBatchCursor.initFromQueryResult:(Lcom/mongodb/connection/QueryResult;)V
         6: .line 313
            return
        end local 2 // com.mongodb.connection.QueryResult queryResult
        end local 1 // org.bson.BsonDocument getMoreCommandResultDocument
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot                          Name  Signature
            0    7     0                          this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            0    7     1  getMoreCommandResultDocument  Lorg/bson/BsonDocument;
            3    7     2                   queryResult  Lcom/mongodb/connection/QueryResult<TT;>;
    MethodParameters:
                              Name  Flags
      getMoreCommandResultDocument  final

  private boolean limitReached();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 316
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.limit:I
            invokestatic java.lang.Math.abs:(I)I
            ifeq 1
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.count:I
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.limit:I
            invokestatic java.lang.Math.abs:(I)I
            if_icmplt 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;

  private void killCursor();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 320
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
            ifnull 10
         1: .line 322
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
            invokeinterface com.mongodb.binding.ConnectionSource.getConnection:()Lcom/mongodb/connection/Connection;
            astore 1 /* connection */
        start local 1 // com.mongodb.connection.Connection connection
         2: .line 324
            aload 0 /* this */
            aload 1 /* connection */
            invokevirtual com.mongodb.operation.QueryBatchCursor.killCursor:(Lcom/mongodb/connection/Connection;)V
         3: .line 325
            goto 7
      StackMap locals: com.mongodb.operation.QueryBatchCursor com.mongodb.connection.Connection
      StackMap stack: java.lang.Throwable
         4: astore 2
         5: .line 326
            aload 1 /* connection */
            invokeinterface com.mongodb.connection.Connection.release:()V
         6: .line 327
            aload 2
            athrow
         7: .line 326
      StackMap locals:
      StackMap stack:
            aload 1 /* connection */
            invokeinterface com.mongodb.connection.Connection.release:()V
        end local 1 // com.mongodb.connection.Connection connection
         8: .line 328
            goto 10
      StackMap locals: com.mongodb.operation.QueryBatchCursor
      StackMap stack: com.mongodb.MongoException
         9: pop
        10: .line 332
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   11     0        this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            2    8     1  connection  Lcom/mongodb/connection/Connection;
      Exception table:
        from    to  target  type
           2     4       4  any
           1     8       9  Class com.mongodb.MongoException

  private void killCursor(com.mongodb.connection.Connection);
    descriptor: (Lcom/mongodb/connection/Connection;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=2, args_size=2
        start local 0 // com.mongodb.operation.QueryBatchCursor this
        start local 1 // com.mongodb.connection.Connection connection
         0: .line 335
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
            ifnull 9
         1: .line 336
            ldc "connection"
            aload 1 /* connection */
            invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 337
            aload 1 /* connection */
            invokeinterface com.mongodb.connection.Connection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            invokestatic com.mongodb.internal.operation.ServerVersionHelper.serverIsAtLeastVersionThreeDotTwo:(Lcom/mongodb/connection/ConnectionDescription;)Z
            ifeq 7
         3: .line 338
            aload 1 /* connection */
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.namespace:Lcom/mongodb/MongoNamespace;
            invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
            aload 0 /* this */
            invokevirtual com.mongodb.operation.QueryBatchCursor.asKillCursorsCommandDocument:()Lorg/bson/BsonDocument;
            getstatic com.mongodb.operation.QueryBatchCursor.NO_OP_FIELD_NAME_VALIDATOR:Lorg/bson/FieldNameValidator;
         4: .line 339
            invokestatic com.mongodb.ReadPreference.primary:()Lcom/mongodb/ReadPreference;
            new org.bson.codecs.BsonDocumentCodec
            dup
            invokespecial org.bson.codecs.BsonDocumentCodec.<init>:()V
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
            invokeinterface com.mongodb.binding.ConnectionSource.getSessionContext:()Lcom/mongodb/session/SessionContext;
         5: .line 338
            invokeinterface com.mongodb.connection.Connection.command:(Ljava/lang/String;Lorg/bson/BsonDocument;Lorg/bson/FieldNameValidator;Lcom/mongodb/ReadPreference;Lorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;)Ljava/lang/Object;
            pop
         6: .line 340
            goto 8
         7: .line 341
      StackMap locals:
      StackMap stack:
            aload 1 /* connection */
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.namespace:Lcom/mongodb/MongoNamespace;
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
            invokevirtual com.mongodb.ServerCursor.getId:()J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
            invokeinterface com.mongodb.connection.Connection.killCursor:(Lcom/mongodb/MongoNamespace;Ljava/util/List;)V
         8: .line 343
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
         9: .line 345
      StackMap locals:
      StackMap stack:
            return
        end local 1 // com.mongodb.connection.Connection connection
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   10     0        this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            0   10     1  connection  Lcom/mongodb/connection/Connection;
    MethodParameters:
            Name  Flags
      connection  final

  private org.bson.BsonDocument asKillCursorsCommandDocument();
    descriptor: ()Lorg/bson/BsonDocument;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=1, args_size=1
        start local 0 // com.mongodb.operation.QueryBatchCursor this
         0: .line 348
            new org.bson.BsonDocument
            dup
            ldc "killCursors"
            new org.bson.BsonString
            dup
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.namespace:Lcom/mongodb/MongoNamespace;
            invokevirtual com.mongodb.MongoNamespace.getCollectionName:()Ljava/lang/String;
            invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
            invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
         1: .line 349
            ldc "cursors"
            new org.bson.BsonArray
            dup
            new org.bson.BsonInt64
            dup
            aload 0 /* this */
            getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
            invokevirtual com.mongodb.ServerCursor.getId:()J
            invokespecial org.bson.BsonInt64.<init>:(J)V
            invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
            invokespecial org.bson.BsonArray.<init>:(Ljava/util/List;)V
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
         2: .line 348
            areturn
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;

  private org.bson.BsonDocument getPostBatchResumeTokenFromResponse(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.mongodb.operation.QueryBatchCursor this
        start local 1 // org.bson.BsonDocument result
         0: .line 353
            aload 1 /* result */
            ldc "cursor"
            aconst_null
            invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
            astore 2 /* cursor */
        start local 2 // org.bson.BsonDocument cursor
         1: .line 354
            aload 2 /* cursor */
            ifnull 3
         2: .line 355
            aload 2 /* cursor */
            ldc "postBatchResumeToken"
            aconst_null
            invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
            areturn
         3: .line 357
      StackMap locals: org.bson.BsonDocument
      StackMap stack:
            aconst_null
            areturn
        end local 2 // org.bson.BsonDocument cursor
        end local 1 // org.bson.BsonDocument result
        end local 0 // com.mongodb.operation.QueryBatchCursor this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lcom/mongodb/operation/QueryBatchCursor<TT;>;
            0    4     1  result  Lorg/bson/BsonDocument;
            1    4     2  cursor  Lorg/bson/BsonDocument;
    MethodParameters:
        Name  Flags
      result  final

  public java.lang.Object next();
    descriptor: ()Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual com.mongodb.operation.QueryBatchCursor.next:()Ljava/util/List;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lcom/mongodb/operation/AggregateResponseBatchCursor<TT;>;
SourceFile: "QueryBatchCursor.java"