public final class com.mongodb.internal.operation.WriteConcernHelper
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.mongodb.internal.operation.WriteConcernHelper
  super_class: java.lang.Object
{
  public static void appendWriteConcernToCommand(com.mongodb.WriteConcern, org.bson.BsonDocument, com.mongodb.connection.ConnectionDescription);
    descriptor: (Lcom/mongodb/WriteConcern;Lorg/bson/BsonDocument;Lcom/mongodb/connection/ConnectionDescription;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // com.mongodb.WriteConcern writeConcern
        start local 1 // org.bson.BsonDocument commandDocument
        start local 2 // com.mongodb.connection.ConnectionDescription description
         0: .line 39
            aload 0 /* writeConcern */
            ifnull 2
            aload 0 /* writeConcern */
            invokevirtual com.mongodb.WriteConcern.isServerDefault:()Z
            ifne 2
            aload 2 /* description */
            invokestatic com.mongodb.internal.operation.ServerVersionHelper.serverIsAtLeastVersionThreeDotFour:(Lcom/mongodb/connection/ConnectionDescription;)Z
            ifeq 2
         1: .line 40
            aload 1 /* commandDocument */
            ldc "writeConcern"
            aload 0 /* writeConcern */
            invokevirtual com.mongodb.WriteConcern.asDocument:()Lorg/bson/BsonDocument;
            invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
            pop
         2: .line 42
      StackMap locals:
      StackMap stack:
            return
        end local 2 // com.mongodb.connection.ConnectionDescription description
        end local 1 // org.bson.BsonDocument commandDocument
        end local 0 // com.mongodb.WriteConcern writeConcern
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    3     0     writeConcern  Lcom/mongodb/WriteConcern;
            0    3     1  commandDocument  Lorg/bson/BsonDocument;
            0    3     2      description  Lcom/mongodb/connection/ConnectionDescription;
    MethodParameters:
                 Name  Flags
      writeConcern     final
      commandDocument  final
      description      final

  public static void throwOnWriteConcernError(org.bson.BsonDocument, com.mongodb.ServerAddress);
    descriptor: (Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.bson.BsonDocument result
        start local 1 // com.mongodb.ServerAddress serverAddress
         0: .line 45
            aload 0 /* result */
            invokestatic com.mongodb.internal.operation.WriteConcernHelper.hasWriteConcernError:(Lorg/bson/BsonDocument;)Z
            ifeq 3
         1: .line 46
            aload 0 /* result */
            aload 1 /* serverAddress */
            invokestatic com.mongodb.internal.operation.WriteConcernHelper.throwOnSpecialException:(Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)V
         2: .line 47
            aload 0 /* result */
            aload 1 /* serverAddress */
            invokestatic com.mongodb.internal.operation.WriteConcernHelper.createWriteConcernException:(Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)Lcom/mongodb/MongoWriteConcernException;
            athrow
         3: .line 49
      StackMap locals:
      StackMap stack:
            return
        end local 1 // com.mongodb.ServerAddress serverAddress
        end local 0 // org.bson.BsonDocument result
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    4     0         result  Lorg/bson/BsonDocument;
            0    4     1  serverAddress  Lcom/mongodb/ServerAddress;
    MethodParameters:
               Name  Flags
      result         final
      serverAddress  final

  public static void throwOnSpecialException(org.bson.BsonDocument, com.mongodb.ServerAddress);
    descriptor: (Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.bson.BsonDocument result
        start local 1 // com.mongodb.ServerAddress serverAddress
         0: .line 52
            aload 0 /* result */
            aload 1 /* serverAddress */
            ldc "errmsg"
            invokestatic com.mongodb.internal.connection.ProtocolHelper.createSpecialException:(Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;Ljava/lang/String;)Lcom/mongodb/MongoException;
            astore 2 /* specialException */
        start local 2 // com.mongodb.MongoException specialException
         1: .line 53
            aload 2 /* specialException */
            ifnull 3
         2: .line 54
            aload 2 /* specialException */
            athrow
         3: .line 56
      StackMap locals: com.mongodb.MongoException
      StackMap stack:
            return
        end local 2 // com.mongodb.MongoException specialException
        end local 1 // com.mongodb.ServerAddress serverAddress
        end local 0 // org.bson.BsonDocument result
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    4     0            result  Lorg/bson/BsonDocument;
            0    4     1     serverAddress  Lcom/mongodb/ServerAddress;
            1    4     2  specialException  Lcom/mongodb/MongoException;
    MethodParameters:
               Name  Flags
      result         final
      serverAddress  final

  public static boolean hasWriteConcernError(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.bson.BsonDocument result
         0: .line 59
            aload 0 /* result */
            ldc "writeConcernError"
            invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
            ireturn
        end local 0 // org.bson.BsonDocument result
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  result  Lorg/bson/BsonDocument;
    MethodParameters:
        Name  Flags
      result  final

  public static com.mongodb.MongoWriteConcernException createWriteConcernException(org.bson.BsonDocument, com.mongodb.ServerAddress);
    descriptor: (Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)Lcom/mongodb/MongoWriteConcernException;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // org.bson.BsonDocument result
        start local 1 // com.mongodb.ServerAddress serverAddress
         0: .line 63
            new com.mongodb.MongoWriteConcernException
            dup
            aload 0 /* result */
            ldc "writeConcernError"
            invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;)Lorg/bson/BsonDocument;
            invokestatic com.mongodb.internal.operation.WriteConcernHelper.createWriteConcernError:(Lorg/bson/BsonDocument;)Lcom/mongodb/bulk/WriteConcernError;
         1: .line 64
            iconst_0
            iconst_0
            aconst_null
            invokestatic com.mongodb.WriteConcernResult.acknowledged:(IZLorg/bson/BsonValue;)Lcom/mongodb/WriteConcernResult;
            aload 1 /* serverAddress */
         2: .line 63
            invokespecial com.mongodb.MongoWriteConcernException.<init>:(Lcom/mongodb/bulk/WriteConcernError;Lcom/mongodb/WriteConcernResult;Lcom/mongodb/ServerAddress;)V
            areturn
        end local 1 // com.mongodb.ServerAddress serverAddress
        end local 0 // org.bson.BsonDocument result
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    3     0         result  Lorg/bson/BsonDocument;
            0    3     1  serverAddress  Lcom/mongodb/ServerAddress;
    MethodParameters:
               Name  Flags
      result         final
      serverAddress  final

  public static com.mongodb.bulk.WriteConcernError createWriteConcernError(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Lcom/mongodb/bulk/WriteConcernError;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=9, locals=1, args_size=1
        start local 0 // org.bson.BsonDocument writeConcernErrorDocument
         0: .line 68
            new com.mongodb.bulk.WriteConcernError
            dup
            aload 0 /* writeConcernErrorDocument */
            ldc "code"
            invokevirtual org.bson.BsonDocument.getNumber:(Ljava/lang/Object;)Lorg/bson/BsonNumber;
            invokevirtual org.bson.BsonNumber.intValue:()I
         1: .line 69
            aload 0 /* writeConcernErrorDocument */
            ldc "codeName"
            new org.bson.BsonString
            dup
            ldc ""
            invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
            invokevirtual org.bson.BsonDocument.getString:(Ljava/lang/Object;Lorg/bson/BsonString;)Lorg/bson/BsonString;
            invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
         2: .line 70
            aload 0 /* writeConcernErrorDocument */
            ldc "errmsg"
            invokevirtual org.bson.BsonDocument.getString:(Ljava/lang/Object;)Lorg/bson/BsonString;
            invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
         3: .line 71
            aload 0 /* writeConcernErrorDocument */
            ldc "errInfo"
            new org.bson.BsonDocument
            dup
            invokespecial org.bson.BsonDocument.<init>:()V
            invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
         4: .line 68
            invokespecial com.mongodb.bulk.WriteConcernError.<init>:(ILjava/lang/String;Ljava/lang/String;Lorg/bson/BsonDocument;)V
            areturn
        end local 0 // org.bson.BsonDocument writeConcernErrorDocument
      LocalVariableTable:
        Start  End  Slot                       Name  Signature
            0    5     0  writeConcernErrorDocument  Lorg/bson/BsonDocument;
    MethodParameters:
                           Name  Flags
      writeConcernErrorDocument  final

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.operation.WriteConcernHelper this
         0: .line 74
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 75
            return
        end local 0 // com.mongodb.internal.operation.WriteConcernHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/mongodb/internal/operation/WriteConcernHelper;
}
SourceFile: "WriteConcernHelper.java"