class org.postgresql.hostchooser.SingleHostChooser implements org.postgresql.hostchooser.HostChooser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.postgresql.hostchooser.SingleHostChooser
super_class: java.lang.Object
{
private final java.util.Collection<org.postgresql.hostchooser.CandidateHost> candidateHost;
descriptor: Ljava/util/Collection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Collection<Lorg/postgresql/hostchooser/CandidateHost;>;
void <init>(org.postgresql.util.HostSpec, org.postgresql.hostchooser.HostRequirement);
descriptor: (Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostRequirement;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.postgresql.hostchooser.CandidateHost
dup
aload 1
aload 2
invokespecial org.postgresql.hostchooser.CandidateHost.<init>:(Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostRequirement;)V
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
putfield org.postgresql.hostchooser.SingleHostChooser.candidateHost:Ljava/util/Collection;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/postgresql/hostchooser/SingleHostChooser;
0 3 1 hostSpec Lorg/postgresql/util/HostSpec;
0 3 2 targetServerType Lorg/postgresql/hostchooser/HostRequirement;
MethodParameters:
Name Flags
hostSpec
targetServerType
public java.util.Iterator<org.postgresql.hostchooser.CandidateHost> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.postgresql.hostchooser.SingleHostChooser.candidateHost:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/postgresql/hostchooser/SingleHostChooser;
Signature: ()Ljava/util/Iterator<Lorg/postgresql/hostchooser/CandidateHost;>;
}
SourceFile: "SingleHostChooser.java"