public final class com.mongodb.connection.SslSettings$Builder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.connection.SslSettings$Builder
super_class: java.lang.Object
{
private boolean enabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean invalidHostNameAllowed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.net.ssl.SSLContext context;
descriptor: Ljavax/net/ssl/SSLContext;
flags: (0x0002) ACC_PRIVATE
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/SslSettings$Builder;
public com.mongodb.connection.SslSettings$Builder applySettings(com.mongodb.connection.SslSettings);
descriptor: (Lcom/mongodb/connection/SslSettings;)Lcom/mongodb/connection/SslSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "sslSettings"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
getfield com.mongodb.connection.SslSettings.enabled:Z
putfield com.mongodb.connection.SslSettings$Builder.enabled:Z
2: aload 0
aload 1
getfield com.mongodb.connection.SslSettings.invalidHostNameAllowed:Z
putfield com.mongodb.connection.SslSettings$Builder.invalidHostNameAllowed:Z
3: aload 0
aload 1
getfield com.mongodb.connection.SslSettings.context:Ljavax/net/ssl/SSLContext;
putfield com.mongodb.connection.SslSettings$Builder.context:Ljavax/net/ssl/SSLContext;
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/connection/SslSettings$Builder;
0 5 1 sslSettings Lcom/mongodb/connection/SslSettings;
MethodParameters:
Name Flags
sslSettings final
public com.mongodb.connection.SslSettings$Builder enabled(boolean);
descriptor: (Z)Lcom/mongodb/connection/SslSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.mongodb.connection.SslSettings$Builder.enabled:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/SslSettings$Builder;
0 2 1 enabled Z
MethodParameters:
Name Flags
enabled final
public com.mongodb.connection.SslSettings$Builder invalidHostNameAllowed(boolean);
descriptor: (Z)Lcom/mongodb/connection/SslSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.mongodb.connection.SslSettings$Builder.invalidHostNameAllowed:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/SslSettings$Builder;
0 2 1 invalidHostNameAllowed Z
MethodParameters:
Name Flags
invalidHostNameAllowed final
public com.mongodb.connection.SslSettings$Builder context(javax.net.ssl.SSLContext);
descriptor: (Ljavax/net/ssl/SSLContext;)Lcom/mongodb/connection/SslSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.connection.SslSettings$Builder.context:Ljavax/net/ssl/SSLContext;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/SslSettings$Builder;
0 2 1 context Ljavax/net/ssl/SSLContext;
MethodParameters:
Name Flags
context final
public com.mongodb.connection.SslSettings$Builder applyConnectionString(com.mongodb.ConnectionString);
descriptor: (Lcom/mongodb/ConnectionString;)Lcom/mongodb/connection/SslSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.mongodb.ConnectionString.getSslEnabled:()Ljava/lang/Boolean;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 0
aload 2
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield com.mongodb.connection.SslSettings$Builder.enabled:Z
3: StackMap locals: java.lang.Boolean
StackMap stack:
aload 1
invokevirtual com.mongodb.ConnectionString.getSslInvalidHostnameAllowed:()Ljava/lang/Boolean;
astore 3
start local 3 4: aload 3
ifnull 6
5: aload 0
aload 3
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield com.mongodb.connection.SslSettings$Builder.invalidHostNameAllowed:Z
6: StackMap locals: java.lang.Boolean
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/connection/SslSettings$Builder;
0 7 1 connectionString Lcom/mongodb/ConnectionString;
1 7 2 sslEnabled Ljava/lang/Boolean;
4 7 3 sslInvalidHostnameAllowed Ljava/lang/Boolean;
MethodParameters:
Name Flags
connectionString final
public com.mongodb.connection.SslSettings build();
descriptor: ()Lcom/mongodb/connection/SslSettings;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.mongodb.connection.SslSettings
dup
aload 0
invokespecial com.mongodb.connection.SslSettings.<init>:(Lcom/mongodb/connection/SslSettings$Builder;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/SslSettings$Builder;
}
SourceFile: "SslSettings.java"
NestHost: com.mongodb.connection.SslSettings
InnerClasses:
public final Builder = com.mongodb.connection.SslSettings$Builder of com.mongodb.connection.SslSettings
RuntimeVisibleAnnotations:
com.mongodb.annotations.NotThreadSafe()