public final class com.mongodb.internal.connection.ServerAddressHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.internal.connection.ServerAddressHelper
super_class: java.lang.Object
{
public static com.mongodb.ServerAddress createServerAddress(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/ServerAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.mongodb.ServerAddress.defaultPort:()I
invokestatic com.mongodb.internal.connection.ServerAddressHelper.createServerAddress:(Ljava/lang/String;I)Lcom/mongodb/ServerAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 host Ljava/lang/String;
MethodParameters:
Name Flags
host final
public static com.mongodb.ServerAddress createServerAddress(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Lcom/mongodb/ServerAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnull 2
aload 0
ldc ".sock"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 2
1: new com.mongodb.UnixServerAddress
dup
aload 0
invokespecial com.mongodb.UnixServerAddress.<init>:(Ljava/lang/String;)V
areturn
2: StackMap locals:
StackMap stack:
new com.mongodb.ServerAddress
dup
aload 0
iload 1
invokespecial com.mongodb.ServerAddress.<init>:(Ljava/lang/String;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 host Ljava/lang/String;
0 3 1 port I
MethodParameters:
Name Flags
host final
port final
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/internal/connection/ServerAddressHelper;
}
SourceFile: "ServerAddressHelper.java"