class com.mongodb.internal.connection.QueryProtocol<T> implements com.mongodb.internal.connection.LegacyProtocol<com.mongodb.connection.QueryResult<T>>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.mongodb.internal.connection.QueryProtocol
  super_class: java.lang.Object
{
  public static final com.mongodb.diagnostics.logging.Logger LOGGER;
    descriptor: Lcom/mongodb/diagnostics/logging/Logger;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

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

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

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

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

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

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

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

  private final org.bson.BsonDocument queryDocument;
    descriptor: Lorg/bson/BsonDocument;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final org.bson.BsonDocument fields;
    descriptor: Lorg/bson/BsonDocument;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

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

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

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

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

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

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

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

  private com.mongodb.event.CommandListener commandListener;
    descriptor: Lcom/mongodb/event/CommandListener;
    flags: (0x0002) ACC_PRIVATE

  private static final java.util.Map<java.lang.String, java.lang.String> META_OPERATOR_TO_COMMAND_FIELD_MAP;
    descriptor: Ljava/util/Map;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 59
            ldc "protocol.query"
            invokestatic com.mongodb.diagnostics.logging.Loggers.getLogger:(Ljava/lang/String;)Lcom/mongodb/diagnostics/logging/Logger;
            putstatic com.mongodb.internal.connection.QueryProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
         1: .line 399
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putstatic com.mongodb.internal.connection.QueryProtocol.META_OPERATOR_TO_COMMAND_FIELD_MAP:Ljava/util/Map;
         2: .line 402
            getstatic com.mongodb.internal.connection.QueryProtocol.META_OPERATOR_TO_COMMAND_FIELD_MAP:Ljava/util/Map;
            ldc "$query"
            ldc "filter"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         3: .line 403
            getstatic com.mongodb.internal.connection.QueryProtocol.META_OPERATOR_TO_COMMAND_FIELD_MAP:Ljava/util/Map;
            ldc "$orderby"
            ldc "sort"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 404
            getstatic com.mongodb.internal.connection.QueryProtocol.META_OPERATOR_TO_COMMAND_FIELD_MAP:Ljava/util/Map;
            ldc "$hint"
            ldc "hint"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         5: .line 405
            getstatic com.mongodb.internal.connection.QueryProtocol.META_OPERATOR_TO_COMMAND_FIELD_MAP:Ljava/util/Map;
            ldc "$comment"
            ldc "comment"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         6: .line 406
            getstatic com.mongodb.internal.connection.QueryProtocol.META_OPERATOR_TO_COMMAND_FIELD_MAP:Ljava/util/Map;
            ldc "$maxScan"
            ldc "maxScan"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         7: .line 407
            getstatic com.mongodb.internal.connection.QueryProtocol.META_OPERATOR_TO_COMMAND_FIELD_MAP:Ljava/util/Map;
            ldc "$maxTimeMS"
            ldc "maxTimeMS"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         8: .line 408
            getstatic com.mongodb.internal.connection.QueryProtocol.META_OPERATOR_TO_COMMAND_FIELD_MAP:Ljava/util/Map;
            ldc "$max"
            ldc "max"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         9: .line 409
            getstatic com.mongodb.internal.connection.QueryProtocol.META_OPERATOR_TO_COMMAND_FIELD_MAP:Ljava/util/Map;
            ldc "$min"
            ldc "min"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        10: .line 410
            getstatic com.mongodb.internal.connection.QueryProtocol.META_OPERATOR_TO_COMMAND_FIELD_MAP:Ljava/util/Map;
            ldc "$returnKey"
            ldc "returnKey"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        11: .line 411
            getstatic com.mongodb.internal.connection.QueryProtocol.META_OPERATOR_TO_COMMAND_FIELD_MAP:Ljava/util/Map;
            ldc "$showDiskLoc"
            ldc "showRecordId"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        12: .line 412
            getstatic com.mongodb.internal.connection.QueryProtocol.META_OPERATOR_TO_COMMAND_FIELD_MAP:Ljava/util/Map;
            ldc "$snapshot"
            ldc "snapshot"
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        13: .line 413
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(com.mongodb.MongoNamespace, int, int, org.bson.BsonDocument, org.bson.BsonDocument, org.bson.codecs.Decoder<T>);
    descriptor: (Lcom/mongodb/MongoNamespace;IILorg/bson/BsonDocument;Lorg/bson/BsonDocument;Lorg/bson/codecs/Decoder;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=7, args_size=7
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // com.mongodb.MongoNamespace namespace
        start local 2 // int skip
        start local 3 // int numberToReturn
        start local 4 // org.bson.BsonDocument queryDocument
        start local 5 // org.bson.BsonDocument fields
        start local 6 // org.bson.codecs.Decoder resultDecoder
         0: .line 79
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 81
            aload 0 /* this */
            aload 1 /* namespace */
            putfield com.mongodb.internal.connection.QueryProtocol.namespace:Lcom/mongodb/MongoNamespace;
         2: .line 82
            aload 0 /* this */
            iload 2 /* skip */
            putfield com.mongodb.internal.connection.QueryProtocol.skip:I
         3: .line 83
            aload 0 /* this */
            iconst_0
            putfield com.mongodb.internal.connection.QueryProtocol.withLimitAndBatchSize:Z
         4: .line 84
            aload 0 /* this */
            iload 3 /* numberToReturn */
            putfield com.mongodb.internal.connection.QueryProtocol.numberToReturn:I
         5: .line 85
            aload 0 /* this */
            iconst_0
            putfield com.mongodb.internal.connection.QueryProtocol.limit:I
         6: .line 86
            aload 0 /* this */
            iconst_0
            putfield com.mongodb.internal.connection.QueryProtocol.batchSize:I
         7: .line 87
            aload 0 /* this */
            aload 4 /* queryDocument */
            putfield com.mongodb.internal.connection.QueryProtocol.queryDocument:Lorg/bson/BsonDocument;
         8: .line 88
            aload 0 /* this */
            aload 5 /* fields */
            putfield com.mongodb.internal.connection.QueryProtocol.fields:Lorg/bson/BsonDocument;
         9: .line 89
            aload 0 /* this */
            aload 6 /* resultDecoder */
            putfield com.mongodb.internal.connection.QueryProtocol.resultDecoder:Lorg/bson/codecs/Decoder;
        10: .line 90
            return
        end local 6 // org.bson.codecs.Decoder resultDecoder
        end local 5 // org.bson.BsonDocument fields
        end local 4 // org.bson.BsonDocument queryDocument
        end local 3 // int numberToReturn
        end local 2 // int skip
        end local 1 // com.mongodb.MongoNamespace namespace
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   11     0            this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0   11     1       namespace  Lcom/mongodb/MongoNamespace;
            0   11     2            skip  I
            0   11     3  numberToReturn  I
            0   11     4   queryDocument  Lorg/bson/BsonDocument;
            0   11     5          fields  Lorg/bson/BsonDocument;
            0   11     6   resultDecoder  Lorg/bson/codecs/Decoder<TT;>;
    Signature: (Lcom/mongodb/MongoNamespace;IILorg/bson/BsonDocument;Lorg/bson/BsonDocument;Lorg/bson/codecs/Decoder<TT;>;)V
    MethodParameters:
                Name  Flags
      namespace       final
      skip            final
      numberToReturn  final
      queryDocument   final
      fields          final
      resultDecoder   final

  void <init>(com.mongodb.MongoNamespace, int, int, int, org.bson.BsonDocument, org.bson.BsonDocument, org.bson.codecs.Decoder<T>);
    descriptor: (Lcom/mongodb/MongoNamespace;IIILorg/bson/BsonDocument;Lorg/bson/BsonDocument;Lorg/bson/codecs/Decoder;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=8, args_size=8
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // com.mongodb.MongoNamespace namespace
        start local 2 // int skip
        start local 3 // int limit
        start local 4 // int batchSize
        start local 5 // org.bson.BsonDocument queryDocument
        start local 6 // org.bson.BsonDocument fields
        start local 7 // org.bson.codecs.Decoder resultDecoder
         0: .line 92
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 94
            aload 0 /* this */
            aload 1 /* namespace */
            putfield com.mongodb.internal.connection.QueryProtocol.namespace:Lcom/mongodb/MongoNamespace;
         2: .line 95
            aload 0 /* this */
            iload 2 /* skip */
            putfield com.mongodb.internal.connection.QueryProtocol.skip:I
         3: .line 96
            aload 0 /* this */
            iconst_1
            putfield com.mongodb.internal.connection.QueryProtocol.withLimitAndBatchSize:Z
         4: .line 97
            aload 0 /* this */
            iconst_0
            putfield com.mongodb.internal.connection.QueryProtocol.numberToReturn:I
         5: .line 98
            aload 0 /* this */
            iload 3 /* limit */
            putfield com.mongodb.internal.connection.QueryProtocol.limit:I
         6: .line 99
            aload 0 /* this */
            iload 4 /* batchSize */
            putfield com.mongodb.internal.connection.QueryProtocol.batchSize:I
         7: .line 100
            aload 0 /* this */
            aload 5 /* queryDocument */
            putfield com.mongodb.internal.connection.QueryProtocol.queryDocument:Lorg/bson/BsonDocument;
         8: .line 101
            aload 0 /* this */
            aload 6 /* fields */
            putfield com.mongodb.internal.connection.QueryProtocol.fields:Lorg/bson/BsonDocument;
         9: .line 102
            aload 0 /* this */
            aload 7 /* resultDecoder */
            putfield com.mongodb.internal.connection.QueryProtocol.resultDecoder:Lorg/bson/codecs/Decoder;
        10: .line 103
            return
        end local 7 // org.bson.codecs.Decoder resultDecoder
        end local 6 // org.bson.BsonDocument fields
        end local 5 // org.bson.BsonDocument queryDocument
        end local 4 // int batchSize
        end local 3 // int limit
        end local 2 // int skip
        end local 1 // com.mongodb.MongoNamespace namespace
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   11     0           this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0   11     1      namespace  Lcom/mongodb/MongoNamespace;
            0   11     2           skip  I
            0   11     3          limit  I
            0   11     4      batchSize  I
            0   11     5  queryDocument  Lorg/bson/BsonDocument;
            0   11     6         fields  Lorg/bson/BsonDocument;
            0   11     7  resultDecoder  Lorg/bson/codecs/Decoder<TT;>;
    Signature: (Lcom/mongodb/MongoNamespace;IIILorg/bson/BsonDocument;Lorg/bson/BsonDocument;Lorg/bson/codecs/Decoder<TT;>;)V
    MethodParameters:
               Name  Flags
      namespace      final
      skip           final
      limit          final
      batchSize      final
      queryDocument  final
      fields         final
      resultDecoder  final

  public void setCommandListener(com.mongodb.event.CommandListener);
    descriptor: (Lcom/mongodb/event/CommandListener;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // com.mongodb.event.CommandListener commandListener
         0: .line 106
            aload 0 /* this */
            aload 1 /* commandListener */
            putfield com.mongodb.internal.connection.QueryProtocol.commandListener:Lcom/mongodb/event/CommandListener;
         1: .line 107
            return
        end local 1 // com.mongodb.event.CommandListener commandListener
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    2     0             this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0    2     1  commandListener  Lcom/mongodb/event/CommandListener;
    MethodParameters:
                 Name  Flags
      commandListener  final

  public com.mongodb.event.CommandListener getCommandListener();
    descriptor: ()Lcom/mongodb/event/CommandListener;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
         0: .line 110
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.commandListener:Lcom/mongodb/event/CommandListener;
            areturn
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;

  public boolean isTailableCursor();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
         0: .line 124
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.tailableCursor:Z
            ireturn
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;

  public com.mongodb.internal.connection.QueryProtocol<T> tailableCursor(boolean);
    descriptor: (Z)Lcom/mongodb/internal/connection/QueryProtocol;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // boolean tailableCursor
         0: .line 139
            aload 0 /* this */
            iload 1 /* tailableCursor */
            putfield com.mongodb.internal.connection.QueryProtocol.tailableCursor:Z
         1: .line 140
            aload 0 /* this */
            areturn
        end local 1 // boolean tailableCursor
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    2     0            this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0    2     1  tailableCursor  Z
    Signature: (Z)Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
    MethodParameters:
                Name  Flags
      tailableCursor  final

  public boolean isSlaveOk();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
         0: .line 150
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.slaveOk:Z
            ireturn
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;

  public com.mongodb.internal.connection.QueryProtocol<T> slaveOk(boolean);
    descriptor: (Z)Lcom/mongodb/internal/connection/QueryProtocol;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // boolean slaveOk
         0: .line 161
            aload 0 /* this */
            iload 1 /* slaveOk */
            putfield com.mongodb.internal.connection.QueryProtocol.slaveOk:Z
         1: .line 162
            aload 0 /* this */
            areturn
        end local 1 // boolean slaveOk
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0    2     1  slaveOk  Z
    Signature: (Z)Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
    MethodParameters:
         Name  Flags
      slaveOk  final

  public boolean isOplogReplay();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
         0: .line 172
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.oplogReplay:Z
            ireturn
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;

  public com.mongodb.internal.connection.QueryProtocol<T> oplogReplay(boolean);
    descriptor: (Z)Lcom/mongodb/internal/connection/QueryProtocol;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // boolean oplogReplay
         0: .line 183
            aload 0 /* this */
            iload 1 /* oplogReplay */
            putfield com.mongodb.internal.connection.QueryProtocol.oplogReplay:Z
         1: .line 184
            aload 0 /* this */
            areturn
        end local 1 // boolean oplogReplay
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    2     0         this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0    2     1  oplogReplay  Z
    Signature: (Z)Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
    MethodParameters:
             Name  Flags
      oplogReplay  final

  public boolean isNoCursorTimeout();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
         0: .line 196
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.noCursorTimeout:Z
            ireturn
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;

  public com.mongodb.internal.connection.QueryProtocol<T> noCursorTimeout(boolean);
    descriptor: (Z)Lcom/mongodb/internal/connection/QueryProtocol;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // boolean noCursorTimeout
         0: .line 207
            aload 0 /* this */
            iload 1 /* noCursorTimeout */
            putfield com.mongodb.internal.connection.QueryProtocol.noCursorTimeout:Z
         1: .line 208
            aload 0 /* this */
            areturn
        end local 1 // boolean noCursorTimeout
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    2     0             this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0    2     1  noCursorTimeout  Z
    Signature: (Z)Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
    MethodParameters:
                 Name  Flags
      noCursorTimeout  final

  public boolean isAwaitData();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
         0: .line 221
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.awaitData:Z
            ireturn
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;

  public com.mongodb.internal.connection.QueryProtocol<T> awaitData(boolean);
    descriptor: (Z)Lcom/mongodb/internal/connection/QueryProtocol;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // boolean awaitData
         0: .line 235
            aload 0 /* this */
            iload 1 /* awaitData */
            putfield com.mongodb.internal.connection.QueryProtocol.awaitData:Z
         1: .line 236
            aload 0 /* this */
            areturn
        end local 1 // boolean awaitData
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0    2     1  awaitData  Z
    Signature: (Z)Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
    MethodParameters:
           Name  Flags
      awaitData  final

  public boolean isPartial();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
         0: .line 246
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.partial:Z
            ireturn
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;

  public com.mongodb.internal.connection.QueryProtocol<T> partial(boolean);
    descriptor: (Z)Lcom/mongodb/internal/connection/QueryProtocol;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // boolean partial
         0: .line 257
            aload 0 /* this */
            iload 1 /* partial */
            putfield com.mongodb.internal.connection.QueryProtocol.partial:Z
         1: .line 258
            aload 0 /* this */
            areturn
        end local 1 // boolean partial
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0    2     1  partial  Z
    Signature: (Z)Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
    MethodParameters:
         Name  Flags
      partial  final

  public com.mongodb.connection.QueryResult<T> execute(com.mongodb.internal.connection.InternalConnection);
    descriptor: (Lcom/mongodb/internal/connection/InternalConnection;)Lcom/mongodb/connection/QueryResult;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=12, args_size=2
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // com.mongodb.internal.connection.InternalConnection connection
         0: .line 263
            getstatic com.mongodb.internal.connection.QueryProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            invokeinterface com.mongodb.diagnostics.logging.Logger.isDebugEnabled:()Z
            ifeq 4
         1: .line 264
            getstatic com.mongodb.internal.connection.QueryProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "Sending query of namespace %s on connection [%s] to server %s"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.namespace:Lcom/mongodb/MongoNamespace;
            aastore
            dup
            iconst_1
         2: .line 265
            aload 1 /* connection */
            invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getConnectionId:()Lcom/mongodb/connection/ConnectionId;
            aastore
            dup
            iconst_2
            aload 1 /* connection */
            invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
            aastore
         3: .line 264
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
         4: .line 267
      StackMap locals:
      StackMap stack:
            invokestatic java.lang.System.nanoTime:()J
            lstore 2 /* startTimeNanos */
        start local 2 // long startTimeNanos
         5: .line 268
            aconst_null
            astore 4 /* message */
        start local 4 // com.mongodb.internal.connection.QueryMessage message
         6: .line 270
            iconst_0
            istore 5 /* isExplain */
        start local 5 // boolean isExplain
         7: .line 271
            new com.mongodb.connection.ByteBufferBsonOutput
            dup
            aload 1 /* connection */
            invokespecial com.mongodb.connection.ByteBufferBsonOutput.<init>:(Lcom/mongodb/connection/BufferProvider;)V
            astore 6 /* bsonOutput */
        start local 6 // com.mongodb.connection.ByteBufferBsonOutput bsonOutput
         8: .line 273
            aload 0 /* this */
            aload 1 /* connection */
            invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.internal.connection.QueryProtocol.createQueryMessage:(Lcom/mongodb/connection/ConnectionDescription;)Lcom/mongodb/internal/connection/QueryMessage;
            astore 4 /* message */
         9: .line 274
            aload 4 /* message */
            aload 6 /* bsonOutput */
            getstatic com.mongodb.internal.connection.NoOpSessionContext.INSTANCE:Lcom/mongodb/internal/connection/NoOpSessionContext;
            invokevirtual com.mongodb.internal.connection.QueryMessage.encode:(Lorg/bson/io/BsonOutput;Lcom/mongodb/session/SessionContext;)V
        10: .line 275
            aload 0 /* this */
            aload 1 /* connection */
            aload 4 /* message */
            aload 6 /* bsonOutput */
            aload 4 /* message */
            invokevirtual com.mongodb.internal.connection.QueryMessage.getEncodingMetadata:()Lcom/mongodb/internal/connection/RequestMessage$EncodingMetadata;
            invokevirtual com.mongodb.internal.connection.QueryProtocol.sendQueryStartedEvent:(Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/internal/connection/QueryMessage;Lcom/mongodb/connection/ByteBufferBsonOutput;Lcom/mongodb/internal/connection/RequestMessage$EncodingMetadata;)Z
            istore 5 /* isExplain */
        11: .line 276
            aload 1 /* connection */
            aload 6 /* bsonOutput */
            invokevirtual com.mongodb.connection.ByteBufferBsonOutput.getByteBuffers:()Ljava/util/List;
            aload 4 /* message */
            invokevirtual com.mongodb.internal.connection.QueryMessage.getId:()I
            invokeinterface com.mongodb.internal.connection.InternalConnection.sendMessage:(Ljava/util/List;I)V
        12: .line 277
            goto 16
      StackMap locals: com.mongodb.internal.connection.QueryProtocol com.mongodb.internal.connection.InternalConnection long com.mongodb.internal.connection.QueryMessage int com.mongodb.connection.ByteBufferBsonOutput
      StackMap stack: java.lang.Throwable
        13: astore 7
        14: .line 278
            aload 6 /* bsonOutput */
            invokevirtual com.mongodb.connection.ByteBufferBsonOutput.close:()V
        15: .line 279
            aload 7
            athrow
        16: .line 278
      StackMap locals:
      StackMap stack:
            aload 6 /* bsonOutput */
            invokevirtual com.mongodb.connection.ByteBufferBsonOutput.close:()V
        17: .line 281
            aload 1 /* connection */
            aload 4 /* message */
            invokevirtual com.mongodb.internal.connection.QueryMessage.getId:()I
            invokeinterface com.mongodb.internal.connection.InternalConnection.receiveMessage:(I)Lcom/mongodb/internal/connection/ResponseBuffers;
            astore 7 /* responseBuffers */
        start local 7 // com.mongodb.internal.connection.ResponseBuffers responseBuffers
        18: .line 283
            aload 7 /* responseBuffers */
            invokevirtual com.mongodb.internal.connection.ResponseBuffers.getReplyHeader:()Lcom/mongodb/internal/connection/ReplyHeader;
            invokevirtual com.mongodb.internal.connection.ReplyHeader.isQueryFailure:()Z
            ifeq 26
        19: .line 284
            new com.mongodb.internal.connection.ReplyMessage
            dup
            aload 7 /* responseBuffers */
        20: .line 285
            new org.bson.codecs.BsonDocumentCodec
            dup
            invokespecial org.bson.codecs.BsonDocumentCodec.<init>:()V
        21: .line 286
            aload 4 /* message */
            invokevirtual com.mongodb.internal.connection.QueryMessage.getId:()I
            i2l
        22: .line 284
            invokespecial com.mongodb.internal.connection.ReplyMessage.<init>:(Lcom/mongodb/internal/connection/ResponseBuffers;Lorg/bson/codecs/Decoder;J)V
        23: .line 286
            invokevirtual com.mongodb.internal.connection.ReplyMessage.getDocuments:()Ljava/util/List;
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.bson.BsonDocument
        24: .line 284
            astore 8 /* errorDocument */
        start local 8 // org.bson.BsonDocument errorDocument
        25: .line 287
            aload 8 /* errorDocument */
            aload 1 /* connection */
            invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
            invokestatic com.mongodb.internal.connection.ProtocolHelper.getQueryFailureException:(Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)Lcom/mongodb/MongoException;
            athrow
        end local 8 // org.bson.BsonDocument errorDocument
        26: .line 289
      StackMap locals: com.mongodb.internal.connection.ResponseBuffers
      StackMap stack:
            new com.mongodb.internal.connection.ReplyMessage
            dup
            aload 7 /* responseBuffers */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.resultDecoder:Lorg/bson/codecs/Decoder;
            aload 4 /* message */
            invokevirtual com.mongodb.internal.connection.QueryMessage.getId:()I
            i2l
            invokespecial com.mongodb.internal.connection.ReplyMessage.<init>:(Lcom/mongodb/internal/connection/ResponseBuffers;Lorg/bson/codecs/Decoder;J)V
            astore 8 /* replyMessage */
        start local 8 // com.mongodb.internal.connection.ReplyMessage replyMessage
        27: .line 290
            new com.mongodb.connection.QueryResult
            dup
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.namespace:Lcom/mongodb/MongoNamespace;
            aload 8 /* replyMessage */
            invokevirtual com.mongodb.internal.connection.ReplyMessage.getDocuments:()Ljava/util/List;
        28: .line 291
            aload 8 /* replyMessage */
            invokevirtual com.mongodb.internal.connection.ReplyMessage.getReplyHeader:()Lcom/mongodb/internal/connection/ReplyHeader;
            invokevirtual com.mongodb.internal.connection.ReplyHeader.getCursorId:()J
            aload 1 /* connection */
            invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
        29: .line 290
            invokespecial com.mongodb.connection.QueryResult.<init>:(Lcom/mongodb/MongoNamespace;Ljava/util/List;JLcom/mongodb/ServerAddress;)V
            astore 9 /* result */
        start local 9 // com.mongodb.connection.QueryResult result
        30: .line 293
            aload 0 /* this */
            aload 1 /* connection */
            invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            lload 2 /* startTimeNanos */
            aload 4 /* message */
            iload 5 /* isExplain */
            aload 7 /* responseBuffers */
            aload 9 /* result */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.sendQuerySucceededEvent:(Lcom/mongodb/connection/ConnectionDescription;JLcom/mongodb/internal/connection/QueryMessage;ZLcom/mongodb/internal/connection/ResponseBuffers;Lcom/mongodb/connection/QueryResult;)V
        31: .line 295
            getstatic com.mongodb.internal.connection.QueryProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "Query completed"
            invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
        32: .line 297
            aload 9 /* result */
            astore 11
        33: .line 299
            aload 7 /* responseBuffers */
            invokevirtual com.mongodb.internal.connection.ResponseBuffers.close:()V
        34: .line 297
            aload 11
            areturn
        end local 9 // com.mongodb.connection.QueryResult result
        end local 8 // com.mongodb.internal.connection.ReplyMessage replyMessage
        35: .line 298
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 10
        36: .line 299
            aload 7 /* responseBuffers */
            invokevirtual com.mongodb.internal.connection.ResponseBuffers.close:()V
        37: .line 300
            aload 10
            athrow
        end local 7 // com.mongodb.internal.connection.ResponseBuffers responseBuffers
        end local 6 // com.mongodb.connection.ByteBufferBsonOutput bsonOutput
        end local 5 // boolean isExplain
        38: .line 302
      StackMap locals: com.mongodb.internal.connection.QueryProtocol com.mongodb.internal.connection.InternalConnection long com.mongodb.internal.connection.QueryMessage
      StackMap stack: java.lang.RuntimeException
            astore 5 /* e */
        start local 5 // java.lang.RuntimeException e
        39: .line 303
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.commandListener:Lcom/mongodb/event/CommandListener;
            ifnull 43
        40: .line 304
            aload 4 /* message */
            ldc "find"
            aload 1 /* connection */
            invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            invokestatic java.lang.System.nanoTime:()J
            lload 2 /* startTimeNanos */
            lsub
            aload 5 /* e */
        41: .line 305
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.commandListener:Lcom/mongodb/event/CommandListener;
        42: .line 304
            invokestatic com.mongodb.internal.connection.ProtocolHelper.sendCommandFailedEvent:(Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;Lcom/mongodb/connection/ConnectionDescription;JLjava/lang/Throwable;Lcom/mongodb/event/CommandListener;)V
        43: .line 307
      StackMap locals: java.lang.RuntimeException
      StackMap stack:
            aload 5 /* e */
            athrow
        end local 5 // java.lang.RuntimeException e
        end local 4 // com.mongodb.internal.connection.QueryMessage message
        end local 2 // long startTimeNanos
        end local 1 // com.mongodb.internal.connection.InternalConnection connection
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   44     0             this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0   44     1       connection  Lcom/mongodb/internal/connection/InternalConnection;
            5   44     2   startTimeNanos  J
            6   44     4          message  Lcom/mongodb/internal/connection/QueryMessage;
            7   38     5        isExplain  Z
            8   38     6       bsonOutput  Lcom/mongodb/connection/ByteBufferBsonOutput;
           18   38     7  responseBuffers  Lcom/mongodb/internal/connection/ResponseBuffers;
           25   26     8    errorDocument  Lorg/bson/BsonDocument;
           27   35     8     replyMessage  Lcom/mongodb/internal/connection/ReplyMessage<TT;>;
           30   35     9           result  Lcom/mongodb/connection/QueryResult<TT;>;
           39   44     5                e  Ljava/lang/RuntimeException;
      Exception table:
        from    to  target  type
           8    13      13  any
          18    33      35  any
           6    34      38  Class java.lang.RuntimeException
          35    38      38  Class java.lang.RuntimeException
    Signature: (Lcom/mongodb/internal/connection/InternalConnection;)Lcom/mongodb/connection/QueryResult<TT;>;
    MethodParameters:
            Name  Flags
      connection  final

  public void executeAsync(com.mongodb.internal.connection.InternalConnection, com.mongodb.async.SingleResultCallback<com.mongodb.connection.QueryResult<T>>);
    descriptor: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/async/SingleResultCallback;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=14, locals=10, args_size=3
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // com.mongodb.internal.connection.InternalConnection connection
        start local 2 // com.mongodb.async.SingleResultCallback callback
         0: .line 313
            invokestatic java.lang.System.nanoTime:()J
            lstore 3 /* startTimeNanos */
        start local 3 // long startTimeNanos
         1: .line 314
            aload 0 /* this */
            aload 1 /* connection */
            invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.internal.connection.QueryProtocol.createQueryMessage:(Lcom/mongodb/connection/ConnectionDescription;)Lcom/mongodb/internal/connection/QueryMessage;
            astore 5 /* message */
        start local 5 // com.mongodb.internal.connection.QueryMessage message
         2: .line 317
            getstatic com.mongodb.internal.connection.QueryProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            invokeinterface com.mongodb.diagnostics.logging.Logger.isDebugEnabled:()Z
            ifeq 6
         3: .line 318
            getstatic com.mongodb.internal.connection.QueryProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "Asynchronously sending query of namespace %s on connection [%s] to server %s"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.namespace:Lcom/mongodb/MongoNamespace;
            aastore
            dup
            iconst_1
         4: .line 319
            aload 1 /* connection */
            invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getConnectionId:()Lcom/mongodb/connection/ConnectionId;
            aastore
            dup
            iconst_2
            aload 1 /* connection */
            invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
            aastore
         5: .line 318
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
         6: .line 321
      StackMap locals: long com.mongodb.internal.connection.QueryMessage
      StackMap stack:
            new com.mongodb.connection.ByteBufferBsonOutput
            dup
            aload 1 /* connection */
            invokespecial com.mongodb.connection.ByteBufferBsonOutput.<init>:(Lcom/mongodb/connection/BufferProvider;)V
            astore 6 /* bsonOutput */
        start local 6 // com.mongodb.connection.ByteBufferBsonOutput bsonOutput
         7: .line 322
            aload 5 /* message */
            aload 6 /* bsonOutput */
            invokestatic com.mongodb.internal.connection.ProtocolHelper.encodeMessageWithMetadata:(Lcom/mongodb/internal/connection/RequestMessage;Lorg/bson/io/BsonOutput;)Lcom/mongodb/internal/connection/RequestMessage$EncodingMetadata;
            astore 7 /* metadata */
        start local 7 // com.mongodb.internal.connection.RequestMessage$EncodingMetadata metadata
         8: .line 323
            aload 0 /* this */
            aload 1 /* connection */
            aload 5 /* message */
            aload 6 /* bsonOutput */
            aload 7 /* metadata */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.sendQueryStartedEvent:(Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/internal/connection/QueryMessage;Lcom/mongodb/connection/ByteBufferBsonOutput;Lcom/mongodb/internal/connection/RequestMessage$EncodingMetadata;)Z
            istore 8 /* isExplainEvent */
        start local 8 // boolean isExplainEvent
         9: .line 326
            new com.mongodb.internal.connection.QueryProtocol$QueryResultCallback
            dup
            aload 0 /* this */
            aload 2 /* callback */
            aload 5 /* message */
            invokevirtual com.mongodb.internal.connection.QueryMessage.getId:()I
        10: .line 327
            lload 3 /* startTimeNanos */
            aload 5 /* message */
            iload 8 /* isExplainEvent */
            aload 1 /* connection */
            invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
        11: .line 326
            invokespecial com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.<init>:(Lcom/mongodb/internal/connection/QueryProtocol;Lcom/mongodb/async/SingleResultCallback;IJLcom/mongodb/internal/connection/QueryMessage;ZLcom/mongodb/connection/ConnectionDescription;)V
            astore 9 /* receiveCallback */
        start local 9 // com.mongodb.async.SingleResultCallback receiveCallback
        12: .line 328
            aload 1 /* connection */
            aload 6 /* bsonOutput */
            invokevirtual com.mongodb.connection.ByteBufferBsonOutput.getByteBuffers:()Ljava/util/List;
            aload 5 /* message */
            invokevirtual com.mongodb.internal.connection.QueryMessage.getId:()I
        13: .line 329
            new com.mongodb.internal.connection.SendMessageCallback
            dup
            aload 1 /* connection */
            aload 6 /* bsonOutput */
            aload 5 /* message */
        14: .line 330
            aload 0 /* this */
            iload 8 /* isExplainEvent */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.getCommandName:(Z)Ljava/lang/String;
            lload 3 /* startTimeNanos */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.commandListener:Lcom/mongodb/event/CommandListener;
            aload 2 /* callback */
        15: .line 331
            aload 9 /* receiveCallback */
        16: .line 329
            invokespecial com.mongodb.internal.connection.SendMessageCallback.<init>:(Lcom/mongodb/internal/connection/InternalConnection;Lorg/bson/io/OutputBuffer;Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;JLcom/mongodb/event/CommandListener;Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/async/SingleResultCallback;)V
        17: .line 328
            invokeinterface com.mongodb.internal.connection.InternalConnection.sendMessageAsync:(Ljava/util/List;ILcom/mongodb/async/SingleResultCallback;)V
        end local 9 // com.mongodb.async.SingleResultCallback receiveCallback
        end local 8 // boolean isExplainEvent
        end local 7 // com.mongodb.internal.connection.RequestMessage$EncodingMetadata metadata
        end local 6 // com.mongodb.connection.ByteBufferBsonOutput bsonOutput
        18: .line 332
            goto 25
      StackMap locals:
      StackMap stack: java.lang.Throwable
        19: astore 6 /* t */
        start local 6 // java.lang.Throwable t
        20: .line 333
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.commandListener:Lcom/mongodb/event/CommandListener;
            ifnull 24
        21: .line 334
            aload 5 /* message */
            ldc "find"
            aload 1 /* connection */
            invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            invokestatic java.lang.System.nanoTime:()J
            lload 3 /* startTimeNanos */
            lsub
            aload 6 /* t */
        22: .line 335
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.commandListener:Lcom/mongodb/event/CommandListener;
        23: .line 334
            invokestatic com.mongodb.internal.connection.ProtocolHelper.sendCommandFailedEvent:(Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;Lcom/mongodb/connection/ConnectionDescription;JLjava/lang/Throwable;Lcom/mongodb/event/CommandListener;)V
        24: .line 337
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 2 /* callback */
            aconst_null
            aload 6 /* t */
            invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
        end local 6 // java.lang.Throwable t
        25: .line 339
      StackMap locals:
      StackMap stack:
            return
        end local 5 // com.mongodb.internal.connection.QueryMessage message
        end local 3 // long startTimeNanos
        end local 2 // com.mongodb.async.SingleResultCallback callback
        end local 1 // com.mongodb.internal.connection.InternalConnection connection
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   26     0             this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0   26     1       connection  Lcom/mongodb/internal/connection/InternalConnection;
            0   26     2         callback  Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/connection/QueryResult<TT;>;>;
            1   26     3   startTimeNanos  J
            2   26     5          message  Lcom/mongodb/internal/connection/QueryMessage;
            7   18     6       bsonOutput  Lcom/mongodb/connection/ByteBufferBsonOutput;
            8   18     7         metadata  Lcom/mongodb/internal/connection/RequestMessage$EncodingMetadata;
            9   18     8   isExplainEvent  Z
           12   18     9  receiveCallback  Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/internal/connection/ResponseBuffers;>;
           20   25     6                t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           2    18      19  Class java.lang.Throwable
    Signature: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/connection/QueryResult<TT;>;>;)V
    MethodParameters:
            Name  Flags
      connection  final
      callback    final

  private boolean sendQueryStartedEvent(com.mongodb.internal.connection.InternalConnection, com.mongodb.internal.connection.QueryMessage, com.mongodb.connection.ByteBufferBsonOutput, com.mongodb.internal.connection.RequestMessage$EncodingMetadata);
    descriptor: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/internal/connection/QueryMessage;Lcom/mongodb/connection/ByteBufferBsonOutput;Lcom/mongodb/internal/connection/RequestMessage$EncodingMetadata;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=7, args_size=5
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // com.mongodb.internal.connection.InternalConnection connection
        start local 2 // com.mongodb.internal.connection.QueryMessage message
        start local 3 // com.mongodb.connection.ByteBufferBsonOutput bsonOutput
        start local 4 // com.mongodb.internal.connection.RequestMessage$EncodingMetadata metadata
         0: .line 343
            iconst_0
            istore 5 /* isExplainEvent */
        start local 5 // boolean isExplainEvent
         1: .line 344
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.commandListener:Lcom/mongodb/event/CommandListener;
            ifnull 9
         2: .line 345
            aload 0 /* this */
            aload 3 /* bsonOutput */
            aload 4 /* metadata */
            invokevirtual com.mongodb.internal.connection.RequestMessage$EncodingMetadata.getFirstDocumentPosition:()I
            invokevirtual com.mongodb.internal.connection.QueryProtocol.asFindCommandDocument:(Lcom/mongodb/connection/ByteBufferBsonOutput;I)Lorg/bson/BsonDocument;
            astore 6 /* command */
        start local 6 // org.bson.BsonDocument command
         3: .line 346
            aload 6 /* command */
            invokevirtual org.bson.BsonDocument.keySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            ldc "explain"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            istore 5 /* isExplainEvent */
         4: .line 347
            aload 2 /* message */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.namespace:Lcom/mongodb/MongoNamespace;
            invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
         5: .line 348
            aload 0 /* this */
            iload 5 /* isExplainEvent */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.getCommandName:(Z)Ljava/lang/String;
         6: .line 349
            aload 6 /* command */
         7: .line 350
            aload 1 /* connection */
            invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.commandListener:Lcom/mongodb/event/CommandListener;
         8: .line 347
            invokestatic com.mongodb.internal.connection.ProtocolHelper.sendCommandStartedEvent:(Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;Ljava/lang/String;Lorg/bson/BsonDocument;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/event/CommandListener;)V
        end local 6 // org.bson.BsonDocument command
         9: .line 352
      StackMap locals: int
      StackMap stack:
            iload 5 /* isExplainEvent */
            ireturn
        end local 5 // boolean isExplainEvent
        end local 4 // com.mongodb.internal.connection.RequestMessage$EncodingMetadata metadata
        end local 3 // com.mongodb.connection.ByteBufferBsonOutput bsonOutput
        end local 2 // com.mongodb.internal.connection.QueryMessage message
        end local 1 // com.mongodb.internal.connection.InternalConnection connection
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   10     0            this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0   10     1      connection  Lcom/mongodb/internal/connection/InternalConnection;
            0   10     2         message  Lcom/mongodb/internal/connection/QueryMessage;
            0   10     3      bsonOutput  Lcom/mongodb/connection/ByteBufferBsonOutput;
            0   10     4        metadata  Lcom/mongodb/internal/connection/RequestMessage$EncodingMetadata;
            1   10     5  isExplainEvent  Z
            3    9     6         command  Lorg/bson/BsonDocument;
    MethodParameters:
            Name  Flags
      connection  final
      message     final
      bsonOutput  final
      metadata    final

  private java.lang.String getCommandName(boolean);
    descriptor: (Z)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // boolean isExplainEvent
         0: .line 356
            iload 1 /* isExplainEvent */
            ifeq 1
            ldc "explain"
            goto 2
      StackMap locals:
      StackMap stack:
         1: ldc "find"
      StackMap locals:
      StackMap stack: java.lang.String
         2: areturn
        end local 1 // boolean isExplainEvent
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    3     0            this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0    3     1  isExplainEvent  Z
    MethodParameters:
                Name  Flags
      isExplainEvent  final

  private void sendQuerySucceededEvent(com.mongodb.connection.ConnectionDescription, long, com.mongodb.internal.connection.QueryMessage, boolean, com.mongodb.internal.connection.ResponseBuffers, com.mongodb.connection.QueryResult<T>);
    descriptor: (Lcom/mongodb/connection/ConnectionDescription;JLcom/mongodb/internal/connection/QueryMessage;ZLcom/mongodb/internal/connection/ResponseBuffers;Lcom/mongodb/connection/QueryResult;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=9, args_size=7
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // com.mongodb.connection.ConnectionDescription connectionDescription
        start local 2 // long startTimeNanos
        start local 4 // com.mongodb.internal.connection.QueryMessage message
        start local 5 // boolean isExplainEvent
        start local 6 // com.mongodb.internal.connection.ResponseBuffers responseBuffers
        start local 7 // com.mongodb.connection.QueryResult queryResult
         0: .line 363
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.commandListener:Lcom/mongodb/event/CommandListener;
            ifnull 5
         1: .line 364
            aload 0 /* this */
            aload 6 /* responseBuffers */
            aload 7 /* queryResult */
            iload 5 /* isExplainEvent */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.asFindCommandResponseDocument:(Lcom/mongodb/internal/connection/ResponseBuffers;Lcom/mongodb/connection/QueryResult;Z)Lorg/bson/BsonDocument;
            astore 8 /* response */
        start local 8 // org.bson.BsonDocument response
         2: .line 365
            aload 4 /* message */
            aload 0 /* this */
            iload 5 /* isExplainEvent */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.getCommandName:(Z)Ljava/lang/String;
            aload 8 /* response */
            aload 1 /* connectionDescription */
         3: .line 366
            invokestatic java.lang.System.nanoTime:()J
            lload 2 /* startTimeNanos */
            lsub
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.commandListener:Lcom/mongodb/event/CommandListener;
         4: .line 365
            invokestatic com.mongodb.internal.connection.ProtocolHelper.sendCommandSucceededEvent:(Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;Lorg/bson/BsonDocument;Lcom/mongodb/connection/ConnectionDescription;JLcom/mongodb/event/CommandListener;)V
        end local 8 // org.bson.BsonDocument response
         5: .line 368
      StackMap locals:
      StackMap stack:
            return
        end local 7 // com.mongodb.connection.QueryResult queryResult
        end local 6 // com.mongodb.internal.connection.ResponseBuffers responseBuffers
        end local 5 // boolean isExplainEvent
        end local 4 // com.mongodb.internal.connection.QueryMessage message
        end local 2 // long startTimeNanos
        end local 1 // com.mongodb.connection.ConnectionDescription connectionDescription
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0    6     0                   this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0    6     1  connectionDescription  Lcom/mongodb/connection/ConnectionDescription;
            0    6     2         startTimeNanos  J
            0    6     4                message  Lcom/mongodb/internal/connection/QueryMessage;
            0    6     5         isExplainEvent  Z
            0    6     6        responseBuffers  Lcom/mongodb/internal/connection/ResponseBuffers;
            0    6     7            queryResult  Lcom/mongodb/connection/QueryResult<TT;>;
            2    5     8               response  Lorg/bson/BsonDocument;
    Signature: (Lcom/mongodb/connection/ConnectionDescription;JLcom/mongodb/internal/connection/QueryMessage;ZLcom/mongodb/internal/connection/ResponseBuffers;Lcom/mongodb/connection/QueryResult<TT;>;)V
    MethodParameters:
                       Name  Flags
      connectionDescription  final
      startTimeNanos         final
      message                final
      isExplainEvent         final
      responseBuffers        final
      queryResult            final

  private com.mongodb.internal.connection.QueryMessage createQueryMessage(com.mongodb.connection.ConnectionDescription);
    descriptor: (Lcom/mongodb/connection/ConnectionDescription;)Lcom/mongodb/internal/connection/QueryMessage;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // com.mongodb.connection.ConnectionDescription connectionDescription
         0: .line 371
            new com.mongodb.internal.connection.QueryMessage
            dup
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.namespace:Lcom/mongodb/MongoNamespace;
            invokevirtual com.mongodb.MongoNamespace.getFullName:()Ljava/lang/String;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.skip:I
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.getNumberToReturn:()I
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.queryDocument:Lorg/bson/BsonDocument;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.fields:Lorg/bson/BsonDocument;
         1: .line 372
            aload 1 /* connectionDescription */
            invokestatic com.mongodb.internal.connection.ProtocolHelper.getMessageSettings:(Lcom/mongodb/connection/ConnectionDescription;)Lcom/mongodb/internal/connection/MessageSettings;
         2: .line 371
            invokespecial com.mongodb.internal.connection.QueryMessage.<init>:(Ljava/lang/String;IILorg/bson/BsonDocument;Lorg/bson/BsonDocument;Lcom/mongodb/internal/connection/MessageSettings;)V
         3: .line 373
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.isTailableCursor:()Z
            invokevirtual com.mongodb.internal.connection.QueryMessage.tailableCursor:(Z)Lcom/mongodb/internal/connection/BaseQueryMessage;
         4: .line 374
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.isSlaveOk:()Z
            invokevirtual com.mongodb.internal.connection.BaseQueryMessage.slaveOk:(Z)Lcom/mongodb/internal/connection/BaseQueryMessage;
         5: .line 375
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.isOplogReplay:()Z
            invokevirtual com.mongodb.internal.connection.BaseQueryMessage.oplogReplay:(Z)Lcom/mongodb/internal/connection/BaseQueryMessage;
         6: .line 376
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.isNoCursorTimeout:()Z
            invokevirtual com.mongodb.internal.connection.BaseQueryMessage.noCursorTimeout:(Z)Lcom/mongodb/internal/connection/BaseQueryMessage;
         7: .line 377
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.isAwaitData:()Z
            invokevirtual com.mongodb.internal.connection.BaseQueryMessage.awaitData:(Z)Lcom/mongodb/internal/connection/BaseQueryMessage;
         8: .line 378
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.isPartial:()Z
            invokevirtual com.mongodb.internal.connection.BaseQueryMessage.partial:(Z)Lcom/mongodb/internal/connection/BaseQueryMessage;
         9: .line 371
            checkcast com.mongodb.internal.connection.QueryMessage
            areturn
        end local 1 // com.mongodb.connection.ConnectionDescription connectionDescription
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0   10     0                   this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0   10     1  connectionDescription  Lcom/mongodb/connection/ConnectionDescription;
    MethodParameters:
                       Name  Flags
      connectionDescription  final

  private int getNumberToReturn();
    descriptor: ()I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
         0: .line 382
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.withLimitAndBatchSize:Z
            ifeq 10
         1: .line 383
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.limit:I
            ifge 3
         2: .line 384
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.limit:I
            ireturn
         3: .line 385
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.limit:I
            ifne 5
         4: .line 386
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.batchSize:I
            ireturn
         5: .line 387
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.batchSize:I
            ifne 7
         6: .line 388
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.limit:I
            ireturn
         7: .line 389
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.limit:I
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.batchSize:I
            invokestatic java.lang.Math.abs:(I)I
            if_icmpge 9
         8: .line 390
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.limit:I
            ireturn
         9: .line 392
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.batchSize:I
            ireturn
        10: .line 395
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.numberToReturn:I
            ireturn
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;

  private org.bson.BsonDocument asFindCommandDocument(com.mongodb.connection.ByteBufferBsonOutput, int);
    descriptor: (Lcom/mongodb/connection/ByteBufferBsonOutput;I)Lorg/bson/BsonDocument;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=10, args_size=3
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // com.mongodb.connection.ByteBufferBsonOutput bsonOutput
        start local 2 // int firstDocumentPosition
         0: .line 416
            new org.bson.BsonDocument
            dup
            ldc "find"
            new org.bson.BsonString
            dup
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.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
            astore 3 /* command */
        start local 3 // org.bson.BsonDocument command
         1: .line 418
            iconst_0
            istore 4 /* isExplain */
        start local 4 // boolean isExplain
         2: .line 420
            aload 1 /* bsonOutput */
            iload 2 /* firstDocumentPosition */
            invokestatic com.mongodb.internal.connection.ByteBufBsonDocument.createList:(Lcom/mongodb/connection/ByteBufferBsonOutput;I)Ljava/util/List;
            astore 5 /* documents */
        start local 5 // java.util.List documents
         3: .line 422
            aload 5 /* documents */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.mongodb.internal.connection.ByteBufBsonDocument
            astore 6 /* rawQueryDocument */
        start local 6 // com.mongodb.internal.connection.ByteBufBsonDocument rawQueryDocument
         4: .line 423
            aload 6 /* rawQueryDocument */
            invokevirtual com.mongodb.internal.connection.ByteBufBsonDocument.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 8
            goto 12
      StackMap locals: com.mongodb.internal.connection.QueryProtocol com.mongodb.connection.ByteBufferBsonOutput int org.bson.BsonDocument int java.util.List com.mongodb.internal.connection.ByteBufBsonDocument top java.util.Iterator
      StackMap stack:
         5: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 7 /* cur */
        start local 7 // java.util.Map$Entry cur
         6: .line 424
            getstatic com.mongodb.internal.connection.QueryProtocol.META_OPERATOR_TO_COMMAND_FIELD_MAP:Ljava/util/Map;
            aload 7 /* cur */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 9 /* commandFieldName */
        start local 9 // java.lang.String commandFieldName
         7: .line 425
            aload 9 /* commandFieldName */
            ifnull 10
         8: .line 426
            aload 3 /* command */
            aload 9 /* commandFieldName */
            aload 7 /* cur */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast org.bson.BsonValue
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
         9: .line 427
            goto 12
      StackMap locals: com.mongodb.internal.connection.QueryProtocol com.mongodb.connection.ByteBufferBsonOutput int org.bson.BsonDocument int java.util.List com.mongodb.internal.connection.ByteBufBsonDocument java.util.Map$Entry java.util.Iterator java.lang.String
      StackMap stack:
        10: aload 7 /* cur */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast java.lang.String
            ldc "$explain"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 12
        11: .line 428
            iconst_1
            istore 4 /* isExplain */
        end local 9 // java.lang.String commandFieldName
        end local 7 // java.util.Map$Entry cur
        12: .line 423
      StackMap locals: com.mongodb.internal.connection.QueryProtocol com.mongodb.connection.ByteBufferBsonOutput int org.bson.BsonDocument int java.util.List com.mongodb.internal.connection.ByteBufBsonDocument top java.util.Iterator
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        13: .line 432
            aload 3 /* command */
            invokevirtual org.bson.BsonDocument.size:()I
            iconst_1
            if_icmpne 15
        14: .line 433
            aload 3 /* command */
            ldc "filter"
            aload 6 /* rawQueryDocument */
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
        15: .line 436
      StackMap locals: com.mongodb.internal.connection.QueryProtocol com.mongodb.connection.ByteBufferBsonOutput int org.bson.BsonDocument int java.util.List com.mongodb.internal.connection.ByteBufBsonDocument
      StackMap stack:
            aload 5 /* documents */
            invokeinterface java.util.List.size:()I
            iconst_2
            if_icmpne 17
        16: .line 437
            aload 3 /* command */
            ldc "projection"
            aload 5 /* documents */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.bson.BsonValue
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
        17: .line 440
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.skip:I
            ifeq 19
        18: .line 441
            aload 3 /* command */
            ldc "skip"
            new org.bson.BsonInt32
            dup
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.skip:I
            invokespecial org.bson.BsonInt32.<init>:(I)V
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
        19: .line 444
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.withLimitAndBatchSize:Z
            ifeq 24
        20: .line 445
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.limit:I
            ifeq 22
        21: .line 446
            aload 3 /* command */
            ldc "limit"
            new org.bson.BsonInt32
            dup
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.limit:I
            invokespecial org.bson.BsonInt32.<init>:(I)V
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
        22: .line 448
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.batchSize:I
            ifeq 24
        23: .line 449
            aload 3 /* command */
            ldc "batchSize"
            new org.bson.BsonInt32
            dup
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.batchSize:I
            invokespecial org.bson.BsonInt32.<init>:(I)V
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
        24: .line 453
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.tailableCursor:Z
            ifeq 26
        25: .line 454
            aload 3 /* command */
            ldc "tailable"
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.tailableCursor:Z
            invokestatic org.bson.BsonBoolean.valueOf:(Z)Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
        26: .line 456
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.noCursorTimeout:Z
            ifeq 28
        27: .line 457
            aload 3 /* command */
            ldc "noCursorTimeout"
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.noCursorTimeout:Z
            invokestatic org.bson.BsonBoolean.valueOf:(Z)Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
        28: .line 459
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.oplogReplay:Z
            ifeq 30
        29: .line 460
            aload 3 /* command */
            ldc "oplogReplay"
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.oplogReplay:Z
            invokestatic org.bson.BsonBoolean.valueOf:(Z)Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
        30: .line 462
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.awaitData:Z
            ifeq 32
        31: .line 463
            aload 3 /* command */
            ldc "awaitData"
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.awaitData:Z
            invokestatic org.bson.BsonBoolean.valueOf:(Z)Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
        32: .line 465
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.partial:Z
            ifeq 34
        33: .line 466
            aload 3 /* command */
            ldc "allowPartialResults"
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.partial:Z
            invokestatic org.bson.BsonBoolean.valueOf:(Z)Lorg/bson/BsonBoolean;
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
        34: .line 469
      StackMap locals:
      StackMap stack:
            iload 4 /* isExplain */
            ifeq 36
        35: .line 470
            new org.bson.BsonDocument
            dup
            ldc "explain"
            aload 3 /* command */
            invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
            astore 3 /* command */
        36: .line 473
      StackMap locals:
      StackMap stack:
            aload 3 /* command */
            areturn
        end local 6 // com.mongodb.internal.connection.ByteBufBsonDocument rawQueryDocument
        end local 5 // java.util.List documents
        end local 4 // boolean isExplain
        end local 3 // org.bson.BsonDocument command
        end local 2 // int firstDocumentPosition
        end local 1 // com.mongodb.connection.ByteBufferBsonOutput bsonOutput
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0   37     0                   this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0   37     1             bsonOutput  Lcom/mongodb/connection/ByteBufferBsonOutput;
            0   37     2  firstDocumentPosition  I
            1   37     3                command  Lorg/bson/BsonDocument;
            2   37     4              isExplain  Z
            3   37     5              documents  Ljava/util/List<Lcom/mongodb/internal/connection/ByteBufBsonDocument;>;
            4   37     6       rawQueryDocument  Lcom/mongodb/internal/connection/ByteBufBsonDocument;
            6   12     7                    cur  Ljava/util/Map$Entry<Ljava/lang/String;Lorg/bson/BsonValue;>;
            7   12     9       commandFieldName  Ljava/lang/String;
    MethodParameters:
                       Name  Flags
      bsonOutput             final
      firstDocumentPosition  final

  private org.bson.BsonDocument asFindCommandResponseDocument(com.mongodb.internal.connection.ResponseBuffers, com.mongodb.connection.QueryResult<T>, boolean);
    descriptor: (Lcom/mongodb/internal/connection/ResponseBuffers;Lcom/mongodb/connection/QueryResult;Z)Lorg/bson/BsonDocument;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=6, args_size=4
        start local 0 // com.mongodb.internal.connection.QueryProtocol this
        start local 1 // com.mongodb.internal.connection.ResponseBuffers responseBuffers
        start local 2 // com.mongodb.connection.QueryResult queryResult
        start local 3 // boolean isExplain
         0: .line 478
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            astore 4 /* rawResultDocuments */
        start local 4 // java.util.List rawResultDocuments
         1: .line 479
            aload 1 /* responseBuffers */
            invokevirtual com.mongodb.internal.connection.ResponseBuffers.getReplyHeader:()Lcom/mongodb/internal/connection/ReplyHeader;
            invokevirtual com.mongodb.internal.connection.ReplyHeader.getNumberReturned:()I
            ifle 4
         2: .line 480
            aload 1 /* responseBuffers */
            invokevirtual com.mongodb.internal.connection.ResponseBuffers.reset:()V
         3: .line 481
            aload 1 /* responseBuffers */
            invokestatic com.mongodb.internal.connection.ByteBufBsonDocument.createList:(Lcom/mongodb/internal/connection/ResponseBuffers;)Ljava/util/List;
            astore 4 /* rawResultDocuments */
         4: .line 484
      StackMap locals: java.util.List
      StackMap stack:
            iload 3 /* isExplain */
            ifeq 8
         5: .line 485
            new org.bson.BsonDocument
            dup
            ldc "ok"
            new org.bson.BsonDouble
            dup
            dconst_1
            invokespecial org.bson.BsonDouble.<init>:(D)V
            invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
            astore 5 /* explainCommandResponseDocument */
        start local 5 // org.bson.BsonDocument explainCommandResponseDocument
         6: .line 486
            aload 5 /* explainCommandResponseDocument */
            aload 4 /* rawResultDocuments */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.util.Map
            invokevirtual org.bson.BsonDocument.putAll:(Ljava/util/Map;)V
         7: .line 487
            aload 5 /* explainCommandResponseDocument */
            areturn
        end local 5 // org.bson.BsonDocument explainCommandResponseDocument
         8: .line 489
      StackMap locals:
      StackMap stack:
            new org.bson.BsonDocument
            dup
            ldc "id"
         9: .line 490
            aload 2 /* queryResult */
            invokevirtual com.mongodb.connection.QueryResult.getCursor:()Lcom/mongodb/ServerCursor;
            ifnonnull 11
        10: .line 491
            new org.bson.BsonInt64
            dup
            lconst_0
            invokespecial org.bson.BsonInt64.<init>:(J)V
            goto 12
      StackMap locals: com.mongodb.internal.connection.QueryProtocol com.mongodb.internal.connection.ResponseBuffers com.mongodb.connection.QueryResult int java.util.List
      StackMap stack: new 8 new 8 java.lang.String
        11: new org.bson.BsonInt64
            dup
            aload 2 /* queryResult */
            invokevirtual com.mongodb.connection.QueryResult.getCursor:()Lcom/mongodb/ServerCursor;
            invokevirtual com.mongodb.ServerCursor.getId:()J
            invokespecial org.bson.BsonInt64.<init>:(J)V
        12: .line 489
      StackMap locals: com.mongodb.internal.connection.QueryProtocol com.mongodb.internal.connection.ResponseBuffers com.mongodb.connection.QueryResult int java.util.List
      StackMap stack: new 8 new 8 java.lang.String org.bson.BsonInt64
            invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
        13: .line 492
            ldc "ns"
            new org.bson.BsonString
            dup
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol.namespace:Lcom/mongodb/MongoNamespace;
            invokevirtual com.mongodb.MongoNamespace.getFullName:()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;
        14: .line 493
            ldc "firstBatch"
            new org.bson.BsonArray
            dup
            aload 4 /* rawResultDocuments */
            invokespecial org.bson.BsonArray.<init>:(Ljava/util/List;)V
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
        15: .line 489
            astore 5 /* cursorDocument */
        start local 5 // org.bson.BsonDocument cursorDocument
        16: .line 495
            new org.bson.BsonDocument
            dup
            ldc "cursor"
            aload 5 /* cursorDocument */
            invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
        17: .line 496
            ldc "ok"
            new org.bson.BsonDouble
            dup
            dconst_1
            invokespecial org.bson.BsonDouble.<init>:(D)V
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
        18: .line 495
            areturn
        end local 5 // org.bson.BsonDocument cursorDocument
        end local 4 // java.util.List rawResultDocuments
        end local 3 // boolean isExplain
        end local 2 // com.mongodb.connection.QueryResult queryResult
        end local 1 // com.mongodb.internal.connection.ResponseBuffers responseBuffers
        end local 0 // com.mongodb.internal.connection.QueryProtocol this
      LocalVariableTable:
        Start  End  Slot                            Name  Signature
            0   19     0                            this  Lcom/mongodb/internal/connection/QueryProtocol<TT;>;
            0   19     1                 responseBuffers  Lcom/mongodb/internal/connection/ResponseBuffers;
            0   19     2                     queryResult  Lcom/mongodb/connection/QueryResult<TT;>;
            0   19     3                       isExplain  Z
            1   19     4              rawResultDocuments  Ljava/util/List<Lcom/mongodb/internal/connection/ByteBufBsonDocument;>;
            6    8     5  explainCommandResponseDocument  Lorg/bson/BsonDocument;
           16   19     5                  cursorDocument  Lorg/bson/BsonDocument;
    Signature: (Lcom/mongodb/internal/connection/ResponseBuffers;Lcom/mongodb/connection/QueryResult<TT;>;Z)Lorg/bson/BsonDocument;
    MethodParameters:
                 Name  Flags
      responseBuffers  final
      queryResult      final
      isExplain        final

  public java.lang.Object execute(com.mongodb.internal.connection.InternalConnection);
    descriptor: (Lcom/mongodb/internal/connection/InternalConnection;)Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual com.mongodb.internal.connection.QueryProtocol.execute:(Lcom/mongodb/internal/connection/InternalConnection;)Lcom/mongodb/connection/QueryResult;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lcom/mongodb/internal/connection/LegacyProtocol<Lcom/mongodb/connection/QueryResult<TT;>;>;
SourceFile: "QueryProtocol.java"
NestMembers:
  com.mongodb.internal.connection.QueryProtocol$QueryResultCallback
InnerClasses:
  QueryResultCallback = com.mongodb.internal.connection.QueryProtocol$QueryResultCallback of com.mongodb.internal.connection.QueryProtocol
  EncodingMetadata = com.mongodb.internal.connection.RequestMessage$EncodingMetadata of com.mongodb.internal.connection.RequestMessage
  public abstract Entry = java.util.Map$Entry of java.util.Map