class com.mongodb.internal.connection.InsertMessage extends com.mongodb.internal.connection.LegacyMessage
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.mongodb.internal.connection.InsertMessage
  super_class: com.mongodb.internal.connection.LegacyMessage
{
  private final com.mongodb.bulk.InsertRequest insertRequest;
    descriptor: Lcom/mongodb/bulk/InsertRequest;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(java.lang.String, com.mongodb.bulk.InsertRequest, com.mongodb.internal.connection.MessageSettings);
    descriptor: (Ljava/lang/String;Lcom/mongodb/bulk/InsertRequest;Lcom/mongodb/internal/connection/MessageSettings;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // com.mongodb.internal.connection.InsertMessage this
        start local 1 // java.lang.String collectionName
        start local 2 // com.mongodb.bulk.InsertRequest insertRequest
        start local 3 // com.mongodb.internal.connection.MessageSettings settings
         0: .line 33
            aload 0 /* this */
            aload 1 /* collectionName */
            getstatic com.mongodb.internal.connection.OpCode.OP_INSERT:Lcom/mongodb/internal/connection/OpCode;
            aload 3 /* settings */
            invokespecial com.mongodb.internal.connection.LegacyMessage.<init>:(Ljava/lang/String;Lcom/mongodb/internal/connection/OpCode;Lcom/mongodb/internal/connection/MessageSettings;)V
         1: .line 34
            aload 0 /* this */
            aload 2 /* insertRequest */
            putfield com.mongodb.internal.connection.InsertMessage.insertRequest:Lcom/mongodb/bulk/InsertRequest;
         2: .line 35
            return
        end local 3 // com.mongodb.internal.connection.MessageSettings settings
        end local 2 // com.mongodb.bulk.InsertRequest insertRequest
        end local 1 // java.lang.String collectionName
        end local 0 // com.mongodb.internal.connection.InsertMessage this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    3     0            this  Lcom/mongodb/internal/connection/InsertMessage;
            0    3     1  collectionName  Ljava/lang/String;
            0    3     2   insertRequest  Lcom/mongodb/bulk/InsertRequest;
            0    3     3        settings  Lcom/mongodb/internal/connection/MessageSettings;
    MethodParameters:
                Name  Flags
      collectionName  final
      insertRequest   final
      settings        final

  protected com.mongodb.internal.connection.RequestMessage$EncodingMetadata encodeMessageBodyWithMetadata(org.bson.io.BsonOutput);
    descriptor: (Lorg/bson/io/BsonOutput;)Lcom/mongodb/internal/connection/RequestMessage$EncodingMetadata;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // com.mongodb.internal.connection.InsertMessage this
        start local 1 // org.bson.io.BsonOutput outputStream
         0: .line 39
            aload 0 /* this */
            aload 1 /* outputStream */
            invokevirtual com.mongodb.internal.connection.InsertMessage.writeInsertPrologue:(Lorg/bson/io/BsonOutput;)V
         1: .line 40
            aload 1 /* outputStream */
            invokeinterface org.bson.io.BsonOutput.getPosition:()I
            istore 2 /* firstDocumentPosition */
        start local 2 // int firstDocumentPosition
         2: .line 41
            aload 0 /* this */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.InsertMessage.insertRequest:Lcom/mongodb/bulk/InsertRequest;
            invokevirtual com.mongodb.bulk.InsertRequest.getDocument:()Lorg/bson/BsonDocument;
            aload 1 /* outputStream */
            new com.mongodb.internal.validator.CollectibleDocumentFieldNameValidator
            dup
            invokespecial com.mongodb.internal.validator.CollectibleDocumentFieldNameValidator.<init>:()V
            invokevirtual com.mongodb.internal.connection.InsertMessage.addCollectibleDocument:(Lorg/bson/BsonDocument;Lorg/bson/io/BsonOutput;Lorg/bson/FieldNameValidator;)V
         3: .line 42
            new com.mongodb.internal.connection.RequestMessage$EncodingMetadata
            dup
            iload 2 /* firstDocumentPosition */
            invokespecial com.mongodb.internal.connection.RequestMessage$EncodingMetadata.<init>:(I)V
            areturn
        end local 2 // int firstDocumentPosition
        end local 1 // org.bson.io.BsonOutput outputStream
        end local 0 // com.mongodb.internal.connection.InsertMessage this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0    4     0                   this  Lcom/mongodb/internal/connection/InsertMessage;
            0    4     1           outputStream  Lorg/bson/io/BsonOutput;
            2    4     2  firstDocumentPosition  I
    MethodParameters:
              Name  Flags
      outputStream  final

  private void writeInsertPrologue(org.bson.io.BsonOutput);
    descriptor: (Lorg/bson/io/BsonOutput;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.InsertMessage this
        start local 1 // org.bson.io.BsonOutput outputStream
         0: .line 46
            aload 1 /* outputStream */
            iconst_0
            invokeinterface org.bson.io.BsonOutput.writeInt32:(I)V
         1: .line 47
            aload 1 /* outputStream */
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.InsertMessage.getCollectionName:()Ljava/lang/String;
            invokeinterface org.bson.io.BsonOutput.writeCString:(Ljava/lang/String;)V
         2: .line 48
            return
        end local 1 // org.bson.io.BsonOutput outputStream
        end local 0 // com.mongodb.internal.connection.InsertMessage this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    3     0          this  Lcom/mongodb/internal/connection/InsertMessage;
            0    3     1  outputStream  Lorg/bson/io/BsonOutput;
    MethodParameters:
              Name  Flags
      outputStream  final
}
SourceFile: "InsertMessage.java"
InnerClasses:
  EncodingMetadata = com.mongodb.internal.connection.RequestMessage$EncodingMetadata of com.mongodb.internal.connection.RequestMessage