class com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback implements com.mongodb.async.SingleResultCallback<org.bson.BsonDocument>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback
  super_class: java.lang.Object
{
  private final com.mongodb.connection.AsyncConnection connection;
    descriptor: Lcom/mongodb/connection/AsyncConnection;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  private final com.mongodb.async.SingleResultCallback<java.util.List<T>> callback;
    descriptor: Lcom/mongodb/async/SingleResultCallback;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lcom/mongodb/async/SingleResultCallback<Ljava/util/List<TT;>;>;

  private final boolean tryNext;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  final com.mongodb.operation.AsyncQueryBatchCursor this$0;
    descriptor: Lcom/mongodb/operation/AsyncQueryBatchCursor;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(com.mongodb.connection.AsyncConnection, com.mongodb.ServerCursor, com.mongodb.async.SingleResultCallback<java.util.List<T>>, );
    descriptor: (Lcom/mongodb/operation/AsyncQueryBatchCursor;Lcom/mongodb/connection/AsyncConnection;Lcom/mongodb/ServerCursor;Lcom/mongodb/async/SingleResultCallback;Z)V
    flags: (0x0000) 
    Code:
      stack=3, locals=6, args_size=6
        start local 0 // com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback this
        start local 2 // com.mongodb.connection.AsyncConnection connection
        start local 3 // com.mongodb.ServerCursor cursor
        start local 4 // com.mongodb.async.SingleResultCallback callback
        start local 5 // boolean tryNext
         0: .line 317
            aload 0 /* this */
            aload 1
            putfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.this$0:Lcom/mongodb/operation/AsyncQueryBatchCursor;
         1: .line 316
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         2: .line 318
            aload 0 /* this */
            aload 2 /* connection */
            putfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.connection:Lcom/mongodb/connection/AsyncConnection;
         3: .line 319
            aload 0 /* this */
            aload 3 /* cursor */
            putfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.cursor:Lcom/mongodb/ServerCursor;
         4: .line 320
            aload 0 /* this */
            aload 4 /* callback */
            getstatic com.mongodb.operation.OperationHelper.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            invokestatic com.mongodb.internal.async.ErrorHandlingResultCallback.errorHandlingCallback:(Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/diagnostics/logging/Logger;)Lcom/mongodb/async/SingleResultCallback;
            putfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.callback:Lcom/mongodb/async/SingleResultCallback;
         5: .line 321
            aload 0 /* this */
            iload 5 /* tryNext */
            putfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.tryNext:Z
         6: .line 322
            return
        end local 5 // boolean tryNext
        end local 4 // com.mongodb.async.SingleResultCallback callback
        end local 3 // com.mongodb.ServerCursor cursor
        end local 2 // com.mongodb.connection.AsyncConnection connection
        end local 0 // com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0        this  Lcom/mongodb/operation/AsyncQueryBatchCursor$CommandResultSingleResultCallback;
            0    7     2  connection  Lcom/mongodb/connection/AsyncConnection;
            0    7     3      cursor  Lcom/mongodb/ServerCursor;
            0    7     4    callback  Lcom/mongodb/async/SingleResultCallback<Ljava/util/List<TT;>;>;
            0    7     5     tryNext  Z
    Signature: (Lcom/mongodb/connection/AsyncConnection;Lcom/mongodb/ServerCursor;Lcom/mongodb/async/SingleResultCallback<Ljava/util/List<TT;>;>;Z)V
    MethodParameters:
            Name  Flags
      this$0      final
      connection  final
      cursor      final
      callback    final
      tryNext     final

  public void onResult(org.bson.BsonDocument, java.lang.Throwable);
    descriptor: (Lorg/bson/BsonDocument;Ljava/lang/Throwable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback this
        start local 1 // org.bson.BsonDocument result
        start local 2 // java.lang.Throwable t
         0: .line 326
            aload 2 /* t */
            ifnull 8
         1: .line 327
            aload 2 /* t */
            instanceof com.mongodb.MongoCommandException
            ifeq 3
         2: .line 328
            aload 2 /* t */
            checkcast com.mongodb.MongoCommandException
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.cursor:Lcom/mongodb/ServerCursor;
            invokestatic com.mongodb.operation.QueryHelper.translateCommandException:(Lcom/mongodb/MongoCommandException;Lcom/mongodb/ServerCursor;)Lcom/mongodb/MongoQueryException;
            goto 4
         3: .line 329
      StackMap locals:
      StackMap stack:
            aload 2 /* t */
         4: .line 327
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3 /* translatedException */
        start local 3 // java.lang.Throwable translatedException
         5: .line 330
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.connection:Lcom/mongodb/connection/AsyncConnection;
            invokeinterface com.mongodb.connection.AsyncConnection.release:()V
         6: .line 331
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.callback:Lcom/mongodb/async/SingleResultCallback;
            aconst_null
            aload 3 /* translatedException */
            invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
        end local 3 // java.lang.Throwable translatedException
         7: .line 332
            goto 13
         8: .line 333
      StackMap locals:
      StackMap stack:
            aload 1 /* result */
            ldc "cursor"
            invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;)Lorg/bson/BsonDocument;
         9: .line 334
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.connection:Lcom/mongodb/connection/AsyncConnection;
            invokeinterface com.mongodb.connection.AsyncConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
        10: .line 333
            invokestatic com.mongodb.operation.OperationHelper.getMoreCursorDocumentToQueryResult:(Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)Lcom/mongodb/connection/QueryResult;
            astore 3 /* queryResult */
        start local 3 // com.mongodb.connection.QueryResult queryResult
        11: .line 335
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.this$0:Lcom/mongodb/operation/AsyncQueryBatchCursor;
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.this$0:Lcom/mongodb/operation/AsyncQueryBatchCursor;
            aload 1 /* result */
            invokevirtual com.mongodb.operation.AsyncQueryBatchCursor.getPostBatchResumeTokenFromResponse:(Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
            putfield com.mongodb.operation.AsyncQueryBatchCursor.postBatchResumeToken:Lorg/bson/BsonDocument;
        12: .line 336
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.this$0:Lcom/mongodb/operation/AsyncQueryBatchCursor;
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.connection:Lcom/mongodb/connection/AsyncConnection;
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.callback:Lcom/mongodb/async/SingleResultCallback;
            aload 3 /* queryResult */
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.tryNext:Z
            invokevirtual com.mongodb.operation.AsyncQueryBatchCursor.handleGetMoreQueryResult:(Lcom/mongodb/connection/AsyncConnection;Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/connection/QueryResult;Z)V
        end local 3 // com.mongodb.connection.QueryResult queryResult
        13: .line 338
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Throwable t
        end local 1 // org.bson.BsonDocument result
        end local 0 // com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   14     0                 this  Lcom/mongodb/operation/AsyncQueryBatchCursor$CommandResultSingleResultCallback;
            0   14     1               result  Lorg/bson/BsonDocument;
            0   14     2                    t  Ljava/lang/Throwable;
            5    7     3  translatedException  Ljava/lang/Throwable;
           11   13     3          queryResult  Lcom/mongodb/connection/QueryResult<TT;>;
    MethodParameters:
        Name  Flags
      result  final
      t       final

  public void onResult(java.lang.Object, java.lang.Throwable);
    descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
         0: .line 1
            aload 0
            aload 1
            checkcast org.bson.BsonDocument
            aload 2
            invokevirtual com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback.onResult:(Lorg/bson/BsonDocument;Ljava/lang/Throwable;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<Lorg/bson/BsonDocument;>;
SourceFile: "AsyncQueryBatchCursor.java"
NestHost: com.mongodb.operation.AsyncQueryBatchCursor
InnerClasses:
  private CommandResultSingleResultCallback = com.mongodb.operation.AsyncQueryBatchCursor$CommandResultSingleResultCallback of com.mongodb.operation.AsyncQueryBatchCursor