public class org.postgresql.hostchooser.HostChooserFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.postgresql.hostchooser.HostChooserFactory
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/postgresql/hostchooser/HostChooserFactory;
public static org.postgresql.hostchooser.HostChooser createHostChooser(org.postgresql.util.HostSpec[], org.postgresql.hostchooser.HostRequirement, java.util.Properties);
descriptor: ([Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostRequirement;Ljava/util/Properties;)Lorg/postgresql/hostchooser/HostChooser;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
arraylength
iconst_1
if_icmpne 2
1: new org.postgresql.hostchooser.SingleHostChooser
dup
aload 0
iconst_0
aaload
aload 1
invokespecial org.postgresql.hostchooser.SingleHostChooser.<init>:(Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostRequirement;)V
areturn
2: StackMap locals:
StackMap stack:
new org.postgresql.hostchooser.MultiHostChooser
dup
aload 0
aload 1
aload 2
invokespecial org.postgresql.hostchooser.MultiHostChooser.<init>:([Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostRequirement;Ljava/util/Properties;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 hostSpecs [Lorg/postgresql/util/HostSpec;
0 3 1 targetServerType Lorg/postgresql/hostchooser/HostRequirement;
0 3 2 info Ljava/util/Properties;
MethodParameters:
Name Flags
hostSpecs
targetServerType
info
}
SourceFile: "HostChooserFactory.java"