public final class com.mongodb.MongoCredential
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.mongodb.MongoCredential
  super_class: java.lang.Object
{
  private final com.mongodb.AuthenticationMechanism mechanism;
    descriptor: Lcom/mongodb/AuthenticationMechanism;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String userName;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String source;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final char[] password;
    descriptor: [C
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.Map<java.lang.String, java.lang.Object> mechanismProperties;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;

  public static final java.lang.String MONGODB_CR_MECHANISM;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()

  public static final java.lang.String GSSAPI_MECHANISM;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.lang.String PLAIN_MECHANISM;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.lang.String MONGODB_X509_MECHANISM;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.lang.String SCRAM_SHA_1_MECHANISM;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.lang.String SCRAM_SHA_256_MECHANISM;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.lang.String SERVICE_NAME_KEY;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "SERVICE_NAME"

  public static final java.lang.String CANONICALIZE_HOST_NAME_KEY;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "CANONICALIZE_HOST_NAME"

  public static final java.lang.String JAVA_SASL_CLIENT_PROPERTIES_KEY;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "JAVA_SASL_CLIENT_PROPERTIES"

  public static final java.lang.String JAVA_SUBJECT_KEY;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "JAVA_SUBJECT"

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 57
            getstatic com.mongodb.AuthenticationMechanism.MONGODB_CR:Lcom/mongodb/AuthenticationMechanism;
            invokevirtual com.mongodb.AuthenticationMechanism.getMechanismName:()Ljava/lang/String;
            putstatic com.mongodb.MongoCredential.MONGODB_CR_MECHANISM:Ljava/lang/String;
         1: .line 65
            getstatic com.mongodb.AuthenticationMechanism.GSSAPI:Lcom/mongodb/AuthenticationMechanism;
            invokevirtual com.mongodb.AuthenticationMechanism.getMechanismName:()Ljava/lang/String;
            putstatic com.mongodb.MongoCredential.GSSAPI_MECHANISM:Ljava/lang/String;
         2: .line 74
            getstatic com.mongodb.AuthenticationMechanism.PLAIN:Lcom/mongodb/AuthenticationMechanism;
            invokevirtual com.mongodb.AuthenticationMechanism.getMechanismName:()Ljava/lang/String;
            putstatic com.mongodb.MongoCredential.PLAIN_MECHANISM:Ljava/lang/String;
         3: .line 83
            getstatic com.mongodb.AuthenticationMechanism.MONGODB_X509:Lcom/mongodb/AuthenticationMechanism;
            invokevirtual com.mongodb.AuthenticationMechanism.getMechanismName:()Ljava/lang/String;
            putstatic com.mongodb.MongoCredential.MONGODB_X509_MECHANISM:Ljava/lang/String;
         4: .line 92
            getstatic com.mongodb.AuthenticationMechanism.SCRAM_SHA_1:Lcom/mongodb/AuthenticationMechanism;
            invokevirtual com.mongodb.AuthenticationMechanism.getMechanismName:()Ljava/lang/String;
            putstatic com.mongodb.MongoCredential.SCRAM_SHA_1_MECHANISM:Ljava/lang/String;
         5: .line 101
            getstatic com.mongodb.AuthenticationMechanism.SCRAM_SHA_256:Lcom/mongodb/AuthenticationMechanism;
            invokevirtual com.mongodb.AuthenticationMechanism.getMechanismName:()Ljava/lang/String;
            putstatic com.mongodb.MongoCredential.SCRAM_SHA_256_MECHANISM:Ljava/lang/String;
         6: .line 149
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static com.mongodb.MongoCredential createCredential(java.lang.String, java.lang.String, char[]);
    descriptor: (Ljava/lang/String;Ljava/lang/String;[C)Lcom/mongodb/MongoCredential;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // java.lang.String userName
        start local 1 // java.lang.String database
        start local 2 // char[] password
         0: .line 169
            new com.mongodb.MongoCredential
            dup
            aconst_null
            aload 0 /* userName */
            aload 1 /* database */
            aload 2 /* password */
            invokespecial com.mongodb.MongoCredential.<init>:(Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;Ljava/lang/String;[C)V
            areturn
        end local 2 // char[] password
        end local 1 // java.lang.String database
        end local 0 // java.lang.String userName
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0  userName  Ljava/lang/String;
            0    1     1  database  Ljava/lang/String;
            0    1     2  password  [C
    MethodParameters:
          Name  Flags
      userName  final
      database  final
      password  final

  public static com.mongodb.MongoCredential createScramSha1Credential(java.lang.String, java.lang.String, char[]);
    descriptor: (Ljava/lang/String;Ljava/lang/String;[C)Lcom/mongodb/MongoCredential;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // java.lang.String userName
        start local 1 // java.lang.String source
        start local 2 // char[] password
         0: .line 190
            new com.mongodb.MongoCredential
            dup
            getstatic com.mongodb.AuthenticationMechanism.SCRAM_SHA_1:Lcom/mongodb/AuthenticationMechanism;
            aload 0 /* userName */
            aload 1 /* source */
            aload 2 /* password */
            invokespecial com.mongodb.MongoCredential.<init>:(Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;Ljava/lang/String;[C)V
            areturn
        end local 2 // char[] password
        end local 1 // java.lang.String source
        end local 0 // java.lang.String userName
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0  userName  Ljava/lang/String;
            0    1     1    source  Ljava/lang/String;
            0    1     2  password  [C
    MethodParameters:
          Name  Flags
      userName  final
      source    final
      password  final

  public static com.mongodb.MongoCredential createScramSha256Credential(java.lang.String, java.lang.String, char[]);
    descriptor: (Ljava/lang/String;Ljava/lang/String;[C)Lcom/mongodb/MongoCredential;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // java.lang.String userName
        start local 1 // java.lang.String source
        start local 2 // char[] password
         0: .line 207
            new com.mongodb.MongoCredential
            dup
            getstatic com.mongodb.AuthenticationMechanism.SCRAM_SHA_256:Lcom/mongodb/AuthenticationMechanism;
            aload 0 /* userName */
            aload 1 /* source */
            aload 2 /* password */
            invokespecial com.mongodb.MongoCredential.<init>:(Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;Ljava/lang/String;[C)V
            areturn
        end local 2 // char[] password
        end local 1 // java.lang.String source
        end local 0 // java.lang.String userName
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0  userName  Ljava/lang/String;
            0    1     1    source  Ljava/lang/String;
            0    1     2  password  [C
    MethodParameters:
          Name  Flags
      userName  final
      source    final
      password  final

  public static com.mongodb.MongoCredential createMongoCRCredential(java.lang.String, java.lang.String, char[]);
    descriptor: (Ljava/lang/String;Ljava/lang/String;[C)Lcom/mongodb/MongoCredential;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // java.lang.String userName
        start local 1 // java.lang.String database
        start local 2 // char[] password
         0: .line 228
            new com.mongodb.MongoCredential
            dup
            getstatic com.mongodb.AuthenticationMechanism.MONGODB_CR:Lcom/mongodb/AuthenticationMechanism;
            aload 0 /* userName */
            aload 1 /* database */
            aload 2 /* password */
            invokespecial com.mongodb.MongoCredential.<init>:(Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;Ljava/lang/String;[C)V
            areturn
        end local 2 // char[] password
        end local 1 // java.lang.String database
        end local 0 // java.lang.String userName
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0  userName  Ljava/lang/String;
            0    1     1  database  Ljava/lang/String;
            0    1     2  password  [C
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()
    MethodParameters:
          Name  Flags
      userName  final
      database  final
      password  final

  public static com.mongodb.MongoCredential createMongoX509Credential(java.lang.String);
    descriptor: (Ljava/lang/String;)Lcom/mongodb/MongoCredential;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=1, args_size=1
        start local 0 // java.lang.String userName
         0: .line 242
            new com.mongodb.MongoCredential
            dup
            getstatic com.mongodb.AuthenticationMechanism.MONGODB_X509:Lcom/mongodb/AuthenticationMechanism;
            aload 0 /* userName */
            ldc "$external"
            aconst_null
            invokespecial com.mongodb.MongoCredential.<init>:(Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;Ljava/lang/String;[C)V
            areturn
        end local 0 // java.lang.String userName
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0  userName  Ljava/lang/String;
    MethodParameters:
          Name  Flags
      userName  final

  public static com.mongodb.MongoCredential createMongoX509Credential();
    descriptor: ()Lcom/mongodb/MongoCredential;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=0, args_size=0
         0: .line 258
            new com.mongodb.MongoCredential
            dup
            getstatic com.mongodb.AuthenticationMechanism.MONGODB_X509:Lcom/mongodb/AuthenticationMechanism;
            aconst_null
            ldc "$external"
            aconst_null
            invokespecial com.mongodb.MongoCredential.<init>:(Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;Ljava/lang/String;[C)V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static com.mongodb.MongoCredential createPlainCredential(java.lang.String, java.lang.String, char[]);
    descriptor: (Ljava/lang/String;Ljava/lang/String;[C)Lcom/mongodb/MongoCredential;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // java.lang.String userName
        start local 1 // java.lang.String source
        start local 2 // char[] password
         0: .line 274
            new com.mongodb.MongoCredential
            dup
            getstatic com.mongodb.AuthenticationMechanism.PLAIN:Lcom/mongodb/AuthenticationMechanism;
            aload 0 /* userName */
            aload 1 /* source */
            aload 2 /* password */
            invokespecial com.mongodb.MongoCredential.<init>:(Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;Ljava/lang/String;[C)V
            areturn
        end local 2 // char[] password
        end local 1 // java.lang.String source
        end local 0 // java.lang.String userName
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0  userName  Ljava/lang/String;
            0    1     1    source  Ljava/lang/String;
            0    1     2  password  [C
    MethodParameters:
          Name  Flags
      userName  final
      source    final
      password  final

  public static com.mongodb.MongoCredential createGSSAPICredential(java.lang.String);
    descriptor: (Ljava/lang/String;)Lcom/mongodb/MongoCredential;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=1, args_size=1
        start local 0 // java.lang.String userName
         0: .line 304
            new com.mongodb.MongoCredential
            dup
            getstatic com.mongodb.AuthenticationMechanism.GSSAPI:Lcom/mongodb/AuthenticationMechanism;
            aload 0 /* userName */
            ldc "$external"
            aconst_null
            invokespecial com.mongodb.MongoCredential.<init>:(Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;Ljava/lang/String;[C)V
            areturn
        end local 0 // java.lang.String userName
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0  userName  Ljava/lang/String;
    MethodParameters:
          Name  Flags
      userName  final

  public <T> com.mongodb.MongoCredential withMechanismProperty(java.lang.String, T);
    descriptor: (Ljava/lang/String;Ljava/lang/Object;)Lcom/mongodb/MongoCredential;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // com.mongodb.MongoCredential this
        start local 1 // java.lang.String key
        start local 2 // java.lang.Object value
         0: .line 317
            new com.mongodb.MongoCredential
            dup
            aload 0 /* this */
            aload 1 /* key */
            aload 2 /* value */
            invokespecial com.mongodb.MongoCredential.<init>:(Lcom/mongodb/MongoCredential;Ljava/lang/String;Ljava/lang/Object;)V
            areturn
        end local 2 // java.lang.Object value
        end local 1 // java.lang.String key
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lcom/mongodb/MongoCredential;
            0    1     1    key  Ljava/lang/String;
            0    1     2  value  TT;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;TT;)Lcom/mongodb/MongoCredential;
    MethodParameters:
       Name  Flags
      key    final
      value  final

  public com.mongodb.MongoCredential withMechanism(com.mongodb.AuthenticationMechanism);
    descriptor: (Lcom/mongodb/AuthenticationMechanism;)Lcom/mongodb/MongoCredential;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=2, args_size=2
        start local 0 // com.mongodb.MongoCredential this
        start local 1 // com.mongodb.AuthenticationMechanism mechanism
         0: .line 328
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.mechanism:Lcom/mongodb/AuthenticationMechanism;
            ifnull 2
         1: .line 329
            new java.lang.IllegalArgumentException
            dup
            ldc "Mechanism already set"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 331
      StackMap locals:
      StackMap stack:
            new com.mongodb.MongoCredential
            dup
            aload 1 /* mechanism */
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.userName:Ljava/lang/String;
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.source:Ljava/lang/String;
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.password:[C
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.mechanismProperties:Ljava/util/Map;
            invokespecial com.mongodb.MongoCredential.<init>:(Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;Ljava/lang/String;[CLjava/util/Map;)V
            areturn
        end local 1 // com.mongodb.AuthenticationMechanism mechanism
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lcom/mongodb/MongoCredential;
            0    3     1  mechanism  Lcom/mongodb/AuthenticationMechanism;
    MethodParameters:
           Name  Flags
      mechanism  final

  void <init>(com.mongodb.AuthenticationMechanism, java.lang.String, java.lang.String, char[]);
    descriptor: (Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;Ljava/lang/String;[C)V
    flags: (0x0000) 
    Code:
      stack=6, locals=5, args_size=5
        start local 0 // com.mongodb.MongoCredential this
        start local 1 // com.mongodb.AuthenticationMechanism mechanism
        start local 2 // java.lang.String userName
        start local 3 // java.lang.String source
        start local 4 // char[] password
         0: .line 344
            aload 0 /* this */
            aload 1 /* mechanism */
            aload 2 /* userName */
            aload 3 /* source */
            aload 4 /* password */
            invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
            invokespecial com.mongodb.MongoCredential.<init>:(Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;Ljava/lang/String;[CLjava/util/Map;)V
         1: .line 345
            return
        end local 4 // char[] password
        end local 3 // java.lang.String source
        end local 2 // java.lang.String userName
        end local 1 // com.mongodb.AuthenticationMechanism mechanism
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lcom/mongodb/MongoCredential;
            0    2     1  mechanism  Lcom/mongodb/AuthenticationMechanism;
            0    2     2   userName  Ljava/lang/String;
            0    2     3     source  Ljava/lang/String;
            0    2     4   password  [C
    RuntimeVisibleParameterAnnotations: 
      0:
        com.mongodb.lang.Nullable()
      1:
        com.mongodb.lang.Nullable()
      2:
      3:
        com.mongodb.lang.Nullable()
    MethodParameters:
           Name  Flags
      mechanism  final
      userName   final
      source     final
      password   final

  void <init>(com.mongodb.AuthenticationMechanism, java.lang.String, java.lang.String, char[], java.util.Map<java.lang.String, java.lang.Object>);
    descriptor: (Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;Ljava/lang/String;[CLjava/util/Map;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=6, args_size=6
        start local 0 // com.mongodb.MongoCredential this
        start local 1 // com.mongodb.AuthenticationMechanism mechanism
        start local 2 // java.lang.String userName
        start local 3 // java.lang.String source
        start local 4 // char[] password
        start local 5 // java.util.Map mechanismProperties
         0: .line 347
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 349
            aload 1 /* mechanism */
            getstatic com.mongodb.AuthenticationMechanism.MONGODB_X509:Lcom/mongodb/AuthenticationMechanism;
            if_acmpeq 3
            aload 2 /* userName */
            ifnonnull 3
         2: .line 350
            new java.lang.IllegalArgumentException
            dup
            ldc "username can not be null"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 353
      StackMap locals: com.mongodb.MongoCredential com.mongodb.AuthenticationMechanism java.lang.String java.lang.String char[] java.util.Map
      StackMap stack:
            aload 1 /* mechanism */
            ifnonnull 5
            aload 4 /* password */
            ifnonnull 5
         4: .line 354
            new java.lang.IllegalArgumentException
            dup
            ldc "Password can not be null when the authentication mechanism is unspecified"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 357
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* mechanism */
            invokevirtual com.mongodb.MongoCredential.mechanismRequiresPassword:(Lcom/mongodb/AuthenticationMechanism;)Z
            ifeq 7
            aload 4 /* password */
            ifnonnull 7
         6: .line 358
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Password can not be null for "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* mechanism */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " mechanism"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 361
      StackMap locals:
      StackMap stack:
            aload 1 /* mechanism */
            getstatic com.mongodb.AuthenticationMechanism.GSSAPI:Lcom/mongodb/AuthenticationMechanism;
            if_acmpeq 8
            aload 1 /* mechanism */
            getstatic com.mongodb.AuthenticationMechanism.MONGODB_X509:Lcom/mongodb/AuthenticationMechanism;
            if_acmpne 10
      StackMap locals:
      StackMap stack:
         8: aload 4 /* password */
            ifnull 10
         9: .line 362
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Password must be null for the "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* mechanism */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " mechanism"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 365
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* mechanism */
            putfield com.mongodb.MongoCredential.mechanism:Lcom/mongodb/AuthenticationMechanism;
        11: .line 366
            aload 0 /* this */
            aload 2 /* userName */
            putfield com.mongodb.MongoCredential.userName:Ljava/lang/String;
        12: .line 367
            aload 0 /* this */
            ldc "source"
            aload 3 /* source */
            invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            putfield com.mongodb.MongoCredential.source:Ljava/lang/String;
        13: .line 369
            aload 0 /* this */
            aload 4 /* password */
            ifnull 14
            aload 4 /* password */
            invokevirtual char[].clone:()Ljava/lang/Object;
            checkcast char[]
            goto 15
      StackMap locals:
      StackMap stack: com.mongodb.MongoCredential
        14: aconst_null
      StackMap locals: com.mongodb.MongoCredential com.mongodb.AuthenticationMechanism java.lang.String java.lang.String char[] java.util.Map
      StackMap stack: com.mongodb.MongoCredential char[]
        15: putfield com.mongodb.MongoCredential.password:[C
        16: .line 370
            aload 0 /* this */
            new java.util.HashMap
            dup
            aload 5 /* mechanismProperties */
            invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
            putfield com.mongodb.MongoCredential.mechanismProperties:Ljava/util/Map;
        17: .line 371
            return
        end local 5 // java.util.Map mechanismProperties
        end local 4 // char[] password
        end local 3 // java.lang.String source
        end local 2 // java.lang.String userName
        end local 1 // com.mongodb.AuthenticationMechanism mechanism
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   18     0                 this  Lcom/mongodb/MongoCredential;
            0   18     1            mechanism  Lcom/mongodb/AuthenticationMechanism;
            0   18     2             userName  Ljava/lang/String;
            0   18     3               source  Ljava/lang/String;
            0   18     4             password  [C
            0   18     5  mechanismProperties  Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
    Signature: (Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;Ljava/lang/String;[CLjava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
    RuntimeVisibleParameterAnnotations: 
      0:
        com.mongodb.lang.Nullable()
      1:
        com.mongodb.lang.Nullable()
      2:
      3:
        com.mongodb.lang.Nullable()
      4:
    MethodParameters:
                     Name  Flags
      mechanism            final
      userName             final
      source               final
      password             final
      mechanismProperties  final

  private boolean mechanismRequiresPassword(com.mongodb.AuthenticationMechanism);
    descriptor: (Lcom/mongodb/AuthenticationMechanism;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.MongoCredential this
        start local 1 // com.mongodb.AuthenticationMechanism mechanism
         0: .line 375
            aload 1 /* mechanism */
            getstatic com.mongodb.AuthenticationMechanism.PLAIN:Lcom/mongodb/AuthenticationMechanism;
            if_acmpeq 1
            aload 1 /* mechanism */
            getstatic com.mongodb.AuthenticationMechanism.MONGODB_CR:Lcom/mongodb/AuthenticationMechanism;
            if_acmpeq 1
            aload 1 /* mechanism */
            getstatic com.mongodb.AuthenticationMechanism.SCRAM_SHA_1:Lcom/mongodb/AuthenticationMechanism;
            if_acmpeq 1
            aload 1 /* mechanism */
            getstatic com.mongodb.AuthenticationMechanism.SCRAM_SHA_256:Lcom/mongodb/AuthenticationMechanism;
            if_acmpeq 1
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_1
            ireturn
        end local 1 // com.mongodb.AuthenticationMechanism mechanism
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lcom/mongodb/MongoCredential;
            0    2     1  mechanism  Lcom/mongodb/AuthenticationMechanism;
    RuntimeVisibleParameterAnnotations: 
      0:
        com.mongodb.lang.Nullable()
    MethodParameters:
           Name  Flags
      mechanism  final

  <T> void <init>(com.mongodb.MongoCredential, java.lang.String, );
    descriptor: (Lcom/mongodb/MongoCredential;Ljava/lang/String;Ljava/lang/Object;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // com.mongodb.MongoCredential this
        start local 1 // com.mongodb.MongoCredential from
        start local 2 // java.lang.String mechanismPropertyKey
        start local 3 // java.lang.Object mechanismPropertyValue
         0: .line 387
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 388
            ldc "mechanismPropertyKey"
            aload 2 /* mechanismPropertyKey */
            invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 390
            aload 0 /* this */
            aload 1 /* from */
            getfield com.mongodb.MongoCredential.mechanism:Lcom/mongodb/AuthenticationMechanism;
            putfield com.mongodb.MongoCredential.mechanism:Lcom/mongodb/AuthenticationMechanism;
         3: .line 391
            aload 0 /* this */
            aload 1 /* from */
            getfield com.mongodb.MongoCredential.userName:Ljava/lang/String;
            putfield com.mongodb.MongoCredential.userName:Ljava/lang/String;
         4: .line 392
            aload 0 /* this */
            aload 1 /* from */
            getfield com.mongodb.MongoCredential.source:Ljava/lang/String;
            putfield com.mongodb.MongoCredential.source:Ljava/lang/String;
         5: .line 393
            aload 0 /* this */
            aload 1 /* from */
            getfield com.mongodb.MongoCredential.password:[C
            putfield com.mongodb.MongoCredential.password:[C
         6: .line 394
            aload 0 /* this */
            new java.util.HashMap
            dup
            aload 1 /* from */
            getfield com.mongodb.MongoCredential.mechanismProperties:Ljava/util/Map;
            invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
            putfield com.mongodb.MongoCredential.mechanismProperties:Ljava/util/Map;
         7: .line 395
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.mechanismProperties:Ljava/util/Map;
            aload 2 /* mechanismPropertyKey */
            invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
            aload 3 /* mechanismPropertyValue */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         8: .line 396
            return
        end local 3 // java.lang.Object mechanismPropertyValue
        end local 2 // java.lang.String mechanismPropertyKey
        end local 1 // com.mongodb.MongoCredential from
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0    9     0                    this  Lcom/mongodb/MongoCredential;
            0    9     1                    from  Lcom/mongodb/MongoCredential;
            0    9     2    mechanismPropertyKey  Ljava/lang/String;
            0    9     3  mechanismPropertyValue  TT;
    Signature: <T:Ljava/lang/Object;>(Lcom/mongodb/MongoCredential;Ljava/lang/String;TT;)V
    MethodParameters:
                        Name  Flags
      from                    final
      mechanismPropertyKey    final
      mechanismPropertyValue  final

  public java.lang.String getMechanism();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.MongoCredential this
         0: .line 405
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.mechanism:Lcom/mongodb/AuthenticationMechanism;
            ifnonnull 1
            aconst_null
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            getfield com.mongodb.MongoCredential.mechanism:Lcom/mongodb/AuthenticationMechanism;
            invokevirtual com.mongodb.AuthenticationMechanism.getMechanismName:()Ljava/lang/String;
      StackMap locals:
      StackMap stack: java.lang.String
         2: areturn
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/mongodb/MongoCredential;
    RuntimeVisibleAnnotations: 
      com.mongodb.lang.Nullable()

  public com.mongodb.AuthenticationMechanism getAuthenticationMechanism();
    descriptor: ()Lcom/mongodb/AuthenticationMechanism;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.MongoCredential this
         0: .line 416
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.mechanism:Lcom/mongodb/AuthenticationMechanism;
            areturn
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/MongoCredential;
    RuntimeVisibleAnnotations: 
      com.mongodb.lang.Nullable()

  public java.lang.String getUserName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.MongoCredential this
         0: .line 426
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.userName:Ljava/lang/String;
            areturn
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/MongoCredential;
    RuntimeVisibleAnnotations: 
      com.mongodb.lang.Nullable()

  public java.lang.String getSource();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.MongoCredential this
         0: .line 435
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.source:Ljava/lang/String;
            areturn
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/MongoCredential;

  public char[] getPassword();
    descriptor: ()[C
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.MongoCredential this
         0: .line 445
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.password:[C
            ifnonnull 2
         1: .line 446
            aconst_null
            areturn
         2: .line 448
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.password:[C
            invokevirtual char[].clone:()Ljava/lang/Object;
            checkcast char[]
            areturn
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/mongodb/MongoCredential;
    RuntimeVisibleAnnotations: 
      com.mongodb.lang.Nullable()

  public <T> T getMechanismProperty(java.lang.String, );
    descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=3
        start local 0 // com.mongodb.MongoCredential this
        start local 1 // java.lang.String key
        start local 2 // java.lang.Object defaultValue
         0: .line 463
            ldc "key"
            aload 1 /* key */
            invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 465
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.mechanismProperties:Ljava/util/Map;
            aload 1 /* key */
            invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            astore 3 /* value */
        start local 3 // java.lang.Object value
         2: .line 466
            aload 3 /* value */
            ifnonnull 3
            aload 2 /* defaultValue */
            goto 4
      StackMap locals: java.lang.Object
      StackMap stack:
         3: aload 3 /* value */
      StackMap locals:
      StackMap stack: java.lang.Object
         4: areturn
        end local 3 // java.lang.Object value
        end local 2 // java.lang.Object defaultValue
        end local 1 // java.lang.String key
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    5     0          this  Lcom/mongodb/MongoCredential;
            0    5     1           key  Ljava/lang/String;
            0    5     2  defaultValue  TT;
            2    5     3         value  TT;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;TT;)TT;
    RuntimeVisibleAnnotations: 
      com.mongodb.lang.Nullable()
    RuntimeVisibleParameterAnnotations: 
      0:
      1:
        com.mongodb.lang.Nullable()
    MethodParameters:
              Name  Flags
      key           final
      defaultValue  final

  public boolean equals(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // com.mongodb.MongoCredential this
        start local 1 // java.lang.Object o
         0: .line 472
            aload 0 /* this */
            aload 1 /* o */
            if_acmpne 2
         1: .line 473
            iconst_1
            ireturn
         2: .line 475
      StackMap locals:
      StackMap stack:
            aload 1 /* o */
            ifnull 3
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            aload 1 /* o */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            if_acmpeq 4
         3: .line 476
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
         4: .line 479
      StackMap locals:
      StackMap stack:
            aload 1 /* o */
            checkcast com.mongodb.MongoCredential
            astore 2 /* that */
        start local 2 // com.mongodb.MongoCredential that
         5: .line 481
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.mechanism:Lcom/mongodb/AuthenticationMechanism;
            aload 2 /* that */
            getfield com.mongodb.MongoCredential.mechanism:Lcom/mongodb/AuthenticationMechanism;
            if_acmpeq 7
         6: .line 482
            iconst_0
            ireturn
         7: .line 484
      StackMap locals: com.mongodb.MongoCredential
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.password:[C
            aload 2 /* that */
            getfield com.mongodb.MongoCredential.password:[C
            invokestatic java.util.Arrays.equals:([C[C)Z
            ifne 9
         8: .line 485
            iconst_0
            ireturn
         9: .line 487
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.source:Ljava/lang/String;
            aload 2 /* that */
            getfield com.mongodb.MongoCredential.source:Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 11
        10: .line 488
            iconst_0
            ireturn
        11: .line 490
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.userName:Ljava/lang/String;
            ifnull 12
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.userName:Ljava/lang/String;
            aload 2 /* that */
            getfield com.mongodb.MongoCredential.userName:Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 14
            goto 13
      StackMap locals:
      StackMap stack:
        12: aload 2 /* that */
            getfield com.mongodb.MongoCredential.userName:Ljava/lang/String;
            ifnull 14
        13: .line 491
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        14: .line 493
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.mechanismProperties:Ljava/util/Map;
            aload 2 /* that */
            getfield com.mongodb.MongoCredential.mechanismProperties:Ljava/util/Map;
            invokeinterface java.util.Map.equals:(Ljava/lang/Object;)Z
            ifne 16
        15: .line 494
            iconst_0
            ireturn
        16: .line 497
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 2 // com.mongodb.MongoCredential that
        end local 1 // java.lang.Object o
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Lcom/mongodb/MongoCredential;
            0   17     1     o  Ljava/lang/Object;
            5   17     2  that  Lcom/mongodb/MongoCredential;
    MethodParameters:
      Name  Flags
      o     final

  public int hashCode();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // com.mongodb.MongoCredential this
         0: .line 502
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.mechanism:Lcom/mongodb/AuthenticationMechanism;
            ifnull 1
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.mechanism:Lcom/mongodb/AuthenticationMechanism;
            invokevirtual com.mongodb.AuthenticationMechanism.hashCode:()I
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: istore 1 /* result */
        start local 1 // int result
         3: .line 503
            bipush 31
            iload 1 /* result */
            imul
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.userName:Ljava/lang/String;
            ifnull 4
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.userName:Ljava/lang/String;
            invokevirtual java.lang.String.hashCode:()I
            goto 5
      StackMap locals: com.mongodb.MongoCredential int
      StackMap stack: int
         4: iconst_0
      StackMap locals: com.mongodb.MongoCredential int
      StackMap stack: int int
         5: iadd
            istore 1 /* result */
         6: .line 504
            bipush 31
            iload 1 /* result */
            imul
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.source:Ljava/lang/String;
            invokevirtual java.lang.String.hashCode:()I
            iadd
            istore 1 /* result */
         7: .line 505
            bipush 31
            iload 1 /* result */
            imul
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.password:[C
            ifnull 8
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.password:[C
            invokestatic java.util.Arrays.hashCode:([C)I
            goto 9
      StackMap locals:
      StackMap stack: int
         8: iconst_0
      StackMap locals: com.mongodb.MongoCredential int
      StackMap stack: int int
         9: iadd
            istore 1 /* result */
        10: .line 506
            bipush 31
            iload 1 /* result */
            imul
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.mechanismProperties:Ljava/util/Map;
            invokeinterface java.util.Map.hashCode:()I
            iadd
            istore 1 /* result */
        11: .line 507
            iload 1 /* result */
            ireturn
        end local 1 // int result
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   12     0    this  Lcom/mongodb/MongoCredential;
            3   12     1  result  I

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.mongodb.MongoCredential this
         0: .line 512
            new java.lang.StringBuilder
            dup
            ldc "MongoCredential{mechanism="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         1: .line 513
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.mechanism:Lcom/mongodb/AuthenticationMechanism;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
         2: .line 514
            ldc ", userName='"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.userName:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            bipush 39
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
         3: .line 515
            ldc ", source='"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield com.mongodb.MongoCredential.source:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            bipush 39
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
         4: .line 516
            ldc ", password=<hidden>"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         5: .line 517
            ldc ", mechanismProperties=<hidden>"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         6: .line 518
            bipush 125
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
         7: .line 512
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // com.mongodb.MongoCredential this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/mongodb/MongoCredential;
}
SourceFile: "MongoCredential.java"
    RuntimeVisibleAnnotations: 
      com.mongodb.annotations.Immutable()