final class io.netty.resolver.dns.DnsAddressDecoder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.resolver.dns.DnsAddressDecoder
super_class: java.lang.Object
{
private static final int INADDRSZ4;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int INADDRSZ6;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
static java.net.InetAddress decodeAddress(io.netty.handler.codec.dns.DnsRecord, java.lang.String, boolean);
descriptor: (Lio/netty/handler/codec/dns/DnsRecord;Ljava/lang/String;Z)Ljava/net/InetAddress;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
instanceof io.netty.handler.codec.dns.DnsRawRecord
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
checkcast io.netty.buffer.ByteBufHolder
invokeinterface io.netty.buffer.ByteBufHolder.content:()Lio/netty/buffer/ByteBuf;
astore 3
start local 3 3: aload 3
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
istore 4
start local 4 4: iload 4
iconst_4
if_icmpeq 6
iload 4
bipush 16
if_icmpeq 6
5: aconst_null
areturn
6: StackMap locals: io.netty.buffer.ByteBuf int
StackMap stack:
iload 4
newarray 8
astore 5
start local 5 7: aload 3
aload 3
invokevirtual io.netty.buffer.ByteBuf.readerIndex:()I
aload 5
invokevirtual io.netty.buffer.ByteBuf.getBytes:(I[B)Lio/netty/buffer/ByteBuf;
pop
8: iload 2
ifeq 9
aload 1
invokestatic java.net.IDN.toUnicode:(Ljava/lang/String;)Ljava/lang/String;
goto 10
StackMap locals: byte[]
StackMap stack:
9: aload 1
StackMap locals:
StackMap stack: java.lang.String
10: aload 5
invokestatic java.net.InetAddress.getByAddress:(Ljava/lang/String;[B)Ljava/net/InetAddress;
11: areturn
12: StackMap locals:
StackMap stack: java.net.UnknownHostException
astore 6
start local 6 13: new java.lang.Error
dup
aload 6
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 record Lio/netty/handler/codec/dns/DnsRecord;
0 14 1 name Ljava/lang/String;
0 14 2 decodeIdn Z
3 14 3 content Lio/netty/buffer/ByteBuf;
4 14 4 contentLen I
7 14 5 addrBytes [B
13 14 6 e Ljava/net/UnknownHostException;
Exception table:
from to target type
8 11 12 Class java.net.UnknownHostException
MethodParameters:
Name Flags
record
name
decodeIdn
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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/DnsAddressDecoder;
}
SourceFile: "DnsAddressDecoder.java"