final class io.netty.resolver.dns.SequentialDnsServerAddressStream implements io.netty.resolver.dns.DnsServerAddressStream
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.resolver.dns.SequentialDnsServerAddressStream
super_class: java.lang.Object
{
private final java.net.InetSocketAddress[] addresses;
descriptor: [Ljava/net/InetSocketAddress;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int i;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(java.net.InetSocketAddress[], int);
descriptor: ([Ljava/net/InetSocketAddress;I)V
flags: (0x0000)
Code:
stack=2, 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
aload 1
putfield io.netty.resolver.dns.SequentialDnsServerAddressStream.addresses:[Ljava/net/InetSocketAddress;
2: aload 0
iload 2
putfield io.netty.resolver.dns.SequentialDnsServerAddressStream.i:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/resolver/dns/SequentialDnsServerAddressStream;
0 4 1 addresses [Ljava/net/InetSocketAddress;
0 4 2 startIdx I
MethodParameters:
Name Flags
addresses
startIdx
public java.net.InetSocketAddress next();
descriptor: ()Ljava/net/InetSocketAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield io.netty.resolver.dns.SequentialDnsServerAddressStream.i:I
istore 1
start local 1 1: aload 0
getfield io.netty.resolver.dns.SequentialDnsServerAddressStream.addresses:[Ljava/net/InetSocketAddress;
iload 1
aaload
astore 2
start local 2 2: iinc 1 1
iload 1
aload 0
getfield io.netty.resolver.dns.SequentialDnsServerAddressStream.addresses:[Ljava/net/InetSocketAddress;
arraylength
if_icmpge 5
3: aload 0
iload 1
putfield io.netty.resolver.dns.SequentialDnsServerAddressStream.i:I
4: goto 6
5: StackMap locals: int java.net.InetSocketAddress
StackMap stack:
aload 0
iconst_0
putfield io.netty.resolver.dns.SequentialDnsServerAddressStream.i:I
6: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/resolver/dns/SequentialDnsServerAddressStream;
1 7 1 i I
2 7 2 next Ljava/net/InetSocketAddress;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.resolver.dns.SequentialDnsServerAddressStream.addresses:[Ljava/net/InetSocketAddress;
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/resolver/dns/SequentialDnsServerAddressStream;
public io.netty.resolver.dns.SequentialDnsServerAddressStream duplicate();
descriptor: ()Lio/netty/resolver/dns/SequentialDnsServerAddressStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new io.netty.resolver.dns.SequentialDnsServerAddressStream
dup
aload 0
getfield io.netty.resolver.dns.SequentialDnsServerAddressStream.addresses:[Ljava/net/InetSocketAddress;
aload 0
getfield io.netty.resolver.dns.SequentialDnsServerAddressStream.i:I
invokespecial io.netty.resolver.dns.SequentialDnsServerAddressStream.<init>:([Ljava/net/InetSocketAddress;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/resolver/dns/SequentialDnsServerAddressStream;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc "sequential"
aload 0
getfield io.netty.resolver.dns.SequentialDnsServerAddressStream.i:I
aload 0
getfield io.netty.resolver.dns.SequentialDnsServerAddressStream.addresses:[Ljava/net/InetSocketAddress;
invokestatic io.netty.resolver.dns.SequentialDnsServerAddressStream.toString:(Ljava/lang/String;I[Ljava/net/InetSocketAddress;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/resolver/dns/SequentialDnsServerAddressStream;
static java.lang.String toString(java.lang.String, int, java.net.InetSocketAddress[]);
descriptor: (Ljava/lang/String;I[Ljava/net/InetSocketAddress;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
iconst_2
iadd
aload 2
arraylength
bipush 16
imul
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 3
start local 3 1: aload 3
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "(index: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
2: aload 3
ldc ", addrs: ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 7
StackMap locals: java.lang.String int java.net.InetSocketAddress[] java.lang.StringBuilder top int int java.net.InetSocketAddress[]
StackMap stack:
4: aload 7
iload 5
aaload
astore 4
start local 4 5: aload 3
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 6
if_icmplt 4
8: aload 3
aload 3
invokevirtual java.lang.StringBuilder.length:()I
iconst_2
isub
invokevirtual java.lang.StringBuilder.setLength:(I)V
9: aload 3
ldc "))"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 type Ljava/lang/String;
0 11 1 index I
0 11 2 addresses [Ljava/net/InetSocketAddress;
1 11 3 buf Ljava/lang/StringBuilder;
5 6 4 a Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
type
index
addresses
public io.netty.resolver.dns.DnsServerAddressStream duplicate();
descriptor: ()Lio/netty/resolver/dns/DnsServerAddressStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.netty.resolver.dns.SequentialDnsServerAddressStream.duplicate:()Lio/netty/resolver/dns/SequentialDnsServerAddressStream;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SequentialDnsServerAddressStream.java"