public abstract class io.netty.resolver.dns.DnsServerAddresses
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.resolver.dns.DnsServerAddresses
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 Lio/netty/resolver/dns/DnsServerAddresses;
public static java.util.List<java.net.InetSocketAddress> defaultAddressList();
descriptor: ()Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider.defaultAddressList:()Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/List<Ljava/net/InetSocketAddress;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static io.netty.resolver.dns.DnsServerAddresses defaultAddresses();
descriptor: ()Lio/netty/resolver/dns/DnsServerAddresses;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider.defaultAddresses:()Lio/netty/resolver/dns/DnsServerAddresses;
areturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static io.netty.resolver.dns.DnsServerAddresses sequential(java.lang.Iterable<? extends java.net.InetSocketAddress>);
descriptor: (Ljava/lang/Iterable;)Lio/netty/resolver/dns/DnsServerAddresses;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.netty.resolver.dns.DnsServerAddresses.sanitize:(Ljava/lang/Iterable;)[Ljava/net/InetSocketAddress;
invokestatic io.netty.resolver.dns.DnsServerAddresses.sequential0:([Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 addresses Ljava/lang/Iterable<+Ljava/net/InetSocketAddress;>;
Signature: (Ljava/lang/Iterable<+Ljava/net/InetSocketAddress;>;)Lio/netty/resolver/dns/DnsServerAddresses;
MethodParameters:
Name Flags
addresses
public static io.netty.resolver.dns.DnsServerAddresses sequential(java.net.InetSocketAddress[]);
descriptor: ([Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.netty.resolver.dns.DnsServerAddresses.sanitize:([Ljava/net/InetSocketAddress;)[Ljava/net/InetSocketAddress;
invokestatic io.netty.resolver.dns.DnsServerAddresses.sequential0:([Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 addresses [Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
addresses
private static io.netty.resolver.dns.DnsServerAddresses sequential0(java.net.InetSocketAddress[]);
descriptor: ([Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
arraylength
iconst_1
if_icmpne 2
1: aload 0
iconst_0
aaload
invokestatic io.netty.resolver.dns.DnsServerAddresses.singleton:(Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
areturn
2: StackMap locals:
StackMap stack:
new io.netty.resolver.dns.DnsServerAddresses$1
dup
ldc "sequential"
aload 0
invokespecial io.netty.resolver.dns.DnsServerAddresses$1.<init>:(Ljava/lang/String;[Ljava/net/InetSocketAddress;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 addresses [Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
addresses final
public static io.netty.resolver.dns.DnsServerAddresses shuffled(java.lang.Iterable<? extends java.net.InetSocketAddress>);
descriptor: (Ljava/lang/Iterable;)Lio/netty/resolver/dns/DnsServerAddresses;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.netty.resolver.dns.DnsServerAddresses.sanitize:(Ljava/lang/Iterable;)[Ljava/net/InetSocketAddress;
invokestatic io.netty.resolver.dns.DnsServerAddresses.shuffled0:([Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 addresses Ljava/lang/Iterable<+Ljava/net/InetSocketAddress;>;
Signature: (Ljava/lang/Iterable<+Ljava/net/InetSocketAddress;>;)Lio/netty/resolver/dns/DnsServerAddresses;
MethodParameters:
Name Flags
addresses
public static io.netty.resolver.dns.DnsServerAddresses shuffled(java.net.InetSocketAddress[]);
descriptor: ([Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.netty.resolver.dns.DnsServerAddresses.sanitize:([Ljava/net/InetSocketAddress;)[Ljava/net/InetSocketAddress;
invokestatic io.netty.resolver.dns.DnsServerAddresses.shuffled0:([Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 addresses [Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
addresses
private static io.netty.resolver.dns.DnsServerAddresses shuffled0(java.net.InetSocketAddress[]);
descriptor: ([Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
arraylength
iconst_1
if_icmpne 2
1: aload 0
iconst_0
aaload
invokestatic io.netty.resolver.dns.DnsServerAddresses.singleton:(Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
areturn
2: StackMap locals:
StackMap stack:
new io.netty.resolver.dns.DnsServerAddresses$2
dup
ldc "shuffled"
aload 0
invokespecial io.netty.resolver.dns.DnsServerAddresses$2.<init>:(Ljava/lang/String;[Ljava/net/InetSocketAddress;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 addresses [Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
addresses final
public static io.netty.resolver.dns.DnsServerAddresses rotational(java.lang.Iterable<? extends java.net.InetSocketAddress>);
descriptor: (Ljava/lang/Iterable;)Lio/netty/resolver/dns/DnsServerAddresses;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.netty.resolver.dns.DnsServerAddresses.sanitize:(Ljava/lang/Iterable;)[Ljava/net/InetSocketAddress;
invokestatic io.netty.resolver.dns.DnsServerAddresses.rotational0:([Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 addresses Ljava/lang/Iterable<+Ljava/net/InetSocketAddress;>;
Signature: (Ljava/lang/Iterable<+Ljava/net/InetSocketAddress;>;)Lio/netty/resolver/dns/DnsServerAddresses;
MethodParameters:
Name Flags
addresses
public static io.netty.resolver.dns.DnsServerAddresses rotational(java.net.InetSocketAddress[]);
descriptor: ([Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.netty.resolver.dns.DnsServerAddresses.sanitize:([Ljava/net/InetSocketAddress;)[Ljava/net/InetSocketAddress;
invokestatic io.netty.resolver.dns.DnsServerAddresses.rotational0:([Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 addresses [Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
addresses
private static io.netty.resolver.dns.DnsServerAddresses rotational0(java.net.InetSocketAddress[]);
descriptor: ([Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
arraylength
iconst_1
if_icmpne 2
1: aload 0
iconst_0
aaload
invokestatic io.netty.resolver.dns.DnsServerAddresses.singleton:(Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
areturn
2: StackMap locals:
StackMap stack:
new io.netty.resolver.dns.RotationalDnsServerAddresses
dup
aload 0
invokespecial io.netty.resolver.dns.RotationalDnsServerAddresses.<init>:([Ljava/net/InetSocketAddress;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 addresses [Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
addresses final
public static io.netty.resolver.dns.DnsServerAddresses singleton(java.net.InetSocketAddress);
descriptor: (Ljava/net/InetSocketAddress;)Lio/netty/resolver/dns/DnsServerAddresses;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "address"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.InetSocketAddress.isUnresolved:()Z
ifeq 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot use an unresolved DNS server address: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new io.netty.resolver.dns.SingletonDnsServerAddresses
dup
aload 0
invokespecial io.netty.resolver.dns.SingletonDnsServerAddresses.<init>:(Ljava/net/InetSocketAddress;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 address Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
address final
private static java.net.InetSocketAddress[] sanitize(java.lang.Iterable<? extends java.net.InetSocketAddress>);
descriptor: (Ljava/lang/Iterable;)[Ljava/net/InetSocketAddress;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "addresses"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.Collection
ifeq 5
3: new java.util.ArrayList
dup
aload 0
checkcast java.util.Collection
invokeinterface java.util.Collection.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 4: goto 6
end local 1 5: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
iconst_4
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 6: StackMap locals: java.util.List
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 13
StackMap locals: java.lang.Iterable java.util.List top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.InetSocketAddress
astore 2
start local 2 8: aload 2
ifnonnull 10
9: goto 14
10: StackMap locals: java.lang.Iterable java.util.List java.net.InetSocketAddress java.util.Iterator
StackMap stack:
aload 2
invokevirtual java.net.InetSocketAddress.isUnresolved:()Z
ifeq 12
11: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot use an unresolved DNS server address: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 13: StackMap locals: java.lang.Iterable java.util.List top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
14: StackMap locals: java.lang.Iterable java.util.List
StackMap stack:
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 16
15: new java.lang.IllegalArgumentException
dup
ldc "empty addresses"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 1
aload 1
invokeinterface java.util.List.size:()I
anewarray java.net.InetSocketAddress
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.net.InetSocketAddress[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 addresses Ljava/lang/Iterable<+Ljava/net/InetSocketAddress;>;
4 5 1 list Ljava/util/List<Ljava/net/InetSocketAddress;>;
6 17 1 list Ljava/util/List<Ljava/net/InetSocketAddress;>;
8 13 2 a Ljava/net/InetSocketAddress;
Signature: (Ljava/lang/Iterable<+Ljava/net/InetSocketAddress;>;)[Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
addresses
private static java.net.InetSocketAddress[] sanitize(java.net.InetSocketAddress[]);
descriptor: ([Ljava/net/InetSocketAddress;)[Ljava/net/InetSocketAddress;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "addresses"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 0
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 3: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 11
StackMap locals: java.net.InetSocketAddress[] java.util.List top int int java.net.InetSocketAddress[]
StackMap stack:
4: aload 5
iload 3
aaload
astore 2
start local 2 5: aload 2
ifnonnull 7
6: goto 12
7: StackMap locals: java.net.InetSocketAddress[] java.util.List java.net.InetSocketAddress int int java.net.InetSocketAddress[]
StackMap stack:
aload 2
invokevirtual java.net.InetSocketAddress.isUnresolved:()Z
ifeq 9
8: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot use an unresolved DNS server address: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 10: iinc 3 1
StackMap locals: java.net.InetSocketAddress[] java.util.List top int int java.net.InetSocketAddress[]
StackMap stack:
11: iload 3
iload 4
if_icmplt 4
12: StackMap locals: java.net.InetSocketAddress[] java.util.List
StackMap stack:
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 14
13: invokestatic io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider.defaultAddressArray:()[Ljava/net/InetSocketAddress;
areturn
14: StackMap locals:
StackMap stack:
aload 1
aload 1
invokeinterface java.util.List.size:()I
anewarray java.net.InetSocketAddress
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.net.InetSocketAddress[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 addresses [Ljava/net/InetSocketAddress;
3 15 1 list Ljava/util/List<Ljava/net/InetSocketAddress;>;
5 10 2 a Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
addresses
public abstract io.netty.resolver.dns.DnsServerAddressStream stream();
descriptor: ()Lio/netty/resolver/dns/DnsServerAddressStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
SourceFile: "DnsServerAddresses.java"
NestMembers:
io.netty.resolver.dns.DnsServerAddresses$1 io.netty.resolver.dns.DnsServerAddresses$2
InnerClasses:
io.netty.resolver.dns.DnsServerAddresses$1
io.netty.resolver.dns.DnsServerAddresses$2