public class io.netty.handler.codec.dns.DefaultDnsPtrRecord extends io.netty.handler.codec.dns.AbstractDnsRecord implements io.netty.handler.codec.dns.DnsPtrRecord
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.dns.DefaultDnsPtrRecord
super_class: io.netty.handler.codec.dns.AbstractDnsRecord
{
private final java.lang.String hostname;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, int, long, java.lang.String);
descriptor: (Ljava/lang/String;IJLjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
aload 1
getstatic io.netty.handler.codec.dns.DnsRecordType.PTR:Lio/netty/handler/codec/dns/DnsRecordType;
iload 2
lload 3
invokespecial io.netty.handler.codec.dns.AbstractDnsRecord.<init>:(Ljava/lang/String;Lio/netty/handler/codec/dns/DnsRecordType;IJ)V
1: aload 0
aload 5
ldc "hostname"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
putfield io.netty.handler.codec.dns.DefaultDnsPtrRecord.hostname:Ljava/lang/String;
2: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/dns/DefaultDnsPtrRecord;
0 3 1 name Ljava/lang/String;
0 3 2 dnsClass I
0 3 3 timeToLive J
0 3 5 hostname Ljava/lang/String;
MethodParameters:
Name Flags
name
dnsClass
timeToLive
hostname
public java.lang.String hostname();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.dns.DefaultDnsPtrRecord.hostname:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/dns/DefaultDnsPtrRecord;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
bipush 64
invokespecial java.lang.StringBuilder.<init>:(I)V
aload 0
invokestatic io.netty.util.internal.StringUtil.simpleClassName:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
astore 1
start local 1 1: aload 0
invokevirtual io.netty.handler.codec.dns.DefaultDnsPtrRecord.type:()Lio/netty/handler/codec/dns/DnsRecordType;
astore 2
start local 2 2: aload 1
aload 0
invokevirtual io.netty.handler.codec.dns.DefaultDnsPtrRecord.name:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
ldc "<root>"
goto 4
StackMap locals: io.netty.handler.codec.dns.DefaultDnsPtrRecord java.lang.StringBuilder io.netty.handler.codec.dns.DnsRecordType
StackMap stack: java.lang.StringBuilder
3: aload 0
invokevirtual io.netty.handler.codec.dns.DefaultDnsPtrRecord.name:()Ljava/lang/String;
StackMap locals: io.netty.handler.codec.dns.DefaultDnsPtrRecord java.lang.StringBuilder io.netty.handler.codec.dns.DnsRecordType
StackMap stack: java.lang.StringBuilder java.lang.String
4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
6: aload 0
invokevirtual io.netty.handler.codec.dns.DefaultDnsPtrRecord.timeToLive:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
7: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: aload 1
aload 0
invokevirtual io.netty.handler.codec.dns.DefaultDnsPtrRecord.dnsClass:()I
invokestatic io.netty.handler.codec.dns.DnsMessageUtil.appendRecordClass:(Ljava/lang/StringBuilder;I)Ljava/lang/StringBuilder;
9: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
10: aload 2
invokevirtual io.netty.handler.codec.dns.DnsRecordType.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 1
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
12: aload 0
getfield io.netty.handler.codec.dns.DefaultDnsPtrRecord.hostname:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/netty/handler/codec/dns/DefaultDnsPtrRecord;
1 14 1 buf Ljava/lang/StringBuilder;
2 14 2 type Lio/netty/handler/codec/dns/DnsRecordType;
}
SourceFile: "DefaultDnsPtrRecord.java"