public abstract class org.postgresql.hostchooser.HostRequirement extends java.lang.Enum<org.postgresql.hostchooser.HostRequirement>
minor version: 0
major version: 59
flags: flags: (0x4421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT, ACC_ANNOTATION
this_class: org.postgresql.hostchooser.HostRequirement
super_class: java.lang.Enum
{
public static final org.postgresql.hostchooser.HostRequirement any;
descriptor: Lorg/postgresql/hostchooser/HostRequirement;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.postgresql.hostchooser.HostRequirement master;
descriptor: Lorg/postgresql/hostchooser/HostRequirement;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.postgresql.hostchooser.HostRequirement secondary;
descriptor: Lorg/postgresql/hostchooser/HostRequirement;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.postgresql.hostchooser.HostRequirement preferSecondary;
descriptor: Lorg/postgresql/hostchooser/HostRequirement;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static final org.postgresql.hostchooser.HostRequirement[] ENUM$VALUES;
descriptor: [Lorg/postgresql/hostchooser/HostRequirement;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.postgresql.hostchooser.HostRequirement$1
dup
ldc "any"
iconst_0
invokespecial org.postgresql.hostchooser.HostRequirement$1.<init>:(Ljava/lang/String;I)V
putstatic org.postgresql.hostchooser.HostRequirement.any:Lorg/postgresql/hostchooser/HostRequirement;
1: new org.postgresql.hostchooser.HostRequirement$2
dup
ldc "master"
iconst_1
invokespecial org.postgresql.hostchooser.HostRequirement$2.<init>:(Ljava/lang/String;I)V
putstatic org.postgresql.hostchooser.HostRequirement.master:Lorg/postgresql/hostchooser/HostRequirement;
2: new org.postgresql.hostchooser.HostRequirement$3
dup
ldc "secondary"
iconst_2
invokespecial org.postgresql.hostchooser.HostRequirement$3.<init>:(Ljava/lang/String;I)V
putstatic org.postgresql.hostchooser.HostRequirement.secondary:Lorg/postgresql/hostchooser/HostRequirement;
3: new org.postgresql.hostchooser.HostRequirement$4
dup
ldc "preferSecondary"
iconst_3
invokespecial org.postgresql.hostchooser.HostRequirement$4.<init>:(Ljava/lang/String;I)V
putstatic org.postgresql.hostchooser.HostRequirement.preferSecondary:Lorg/postgresql/hostchooser/HostRequirement;
4: iconst_4
anewarray org.postgresql.hostchooser.HostRequirement
dup
iconst_0
getstatic org.postgresql.hostchooser.HostRequirement.any:Lorg/postgresql/hostchooser/HostRequirement;
aastore
dup
iconst_1
getstatic org.postgresql.hostchooser.HostRequirement.master:Lorg/postgresql/hostchooser/HostRequirement;
aastore
dup
iconst_2
getstatic org.postgresql.hostchooser.HostRequirement.secondary:Lorg/postgresql/hostchooser/HostRequirement;
aastore
dup
iconst_3
getstatic org.postgresql.hostchooser.HostRequirement.preferSecondary:Lorg/postgresql/hostchooser/HostRequirement;
aastore
putstatic org.postgresql.hostchooser.HostRequirement.ENUM$VALUES:[Lorg/postgresql/hostchooser/HostRequirement;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/postgresql/hostchooser/HostRequirement;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
public abstract boolean allowConnectingTo(org.postgresql.hostchooser.HostStatus);
descriptor: (Lorg/postgresql/hostchooser/HostStatus;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
status
public static org.postgresql.hostchooser.HostRequirement getTargetServerType(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/postgresql/hostchooser/HostRequirement;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "lave"
ldc "econdary"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic org.postgresql.hostchooser.HostRequirement.valueOf:(Ljava/lang/String;)Lorg/postgresql/hostchooser/HostRequirement;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 targetServerType Ljava/lang/String;
1 2 1 allowSlave Ljava/lang/String;
MethodParameters:
Name Flags
targetServerType
public static org.postgresql.hostchooser.HostRequirement[] values();
descriptor: ()[Lorg/postgresql/hostchooser/HostRequirement;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.postgresql.hostchooser.HostRequirement.ENUM$VALUES:[Lorg/postgresql/hostchooser/HostRequirement;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.postgresql.hostchooser.HostRequirement
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.postgresql.hostchooser.HostRequirement valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/postgresql/hostchooser/HostRequirement;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/postgresql/hostchooser/HostRequirement;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.postgresql.hostchooser.HostRequirement
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lorg/postgresql/hostchooser/HostRequirement;>;
SourceFile: "HostRequirement.java"
NestMembers:
org.postgresql.hostchooser.HostRequirement$1 org.postgresql.hostchooser.HostRequirement$2 org.postgresql.hostchooser.HostRequirement$3 org.postgresql.hostchooser.HostRequirement$4
InnerClasses:
org.postgresql.hostchooser.HostRequirement$1
org.postgresql.hostchooser.HostRequirement$2
org.postgresql.hostchooser.HostRequirement$3
org.postgresql.hostchooser.HostRequirement$4