public abstract class io.netty.handler.codec.dns.AbstractDnsRecord implements io.netty.handler.codec.dns.DnsRecord
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.handler.codec.dns.AbstractDnsRecord
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.dns.DnsRecordType type;
descriptor: Lio/netty/handler/codec/dns/DnsRecordType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final short dnsClass;
descriptor: S
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long timeToLive;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int hashCode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected void <init>(java.lang.String, io.netty.handler.codec.dns.DnsRecordType, long);
descriptor: (Ljava/lang/String;Lio/netty/handler/codec/dns/DnsRecordType;J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iconst_1
lload 3
invokespecial io.netty.handler.codec.dns.AbstractDnsRecord.<init>:(Ljava/lang/String;Lio/netty/handler/codec/dns/DnsRecordType;IJ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/dns/AbstractDnsRecord;
0 2 1 name Ljava/lang/String;
0 2 2 type Lio/netty/handler/codec/dns/DnsRecordType;
0 2 3 timeToLive J
MethodParameters:
Name Flags
name
type
timeToLive
protected void <init>(java.lang.String, io.netty.handler.codec.dns.DnsRecordType, int, long);
descriptor: (Ljava/lang/String;Lio/netty/handler/codec/dns/DnsRecordType;IJ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: lload 4
lconst_0
lcmp
ifge 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "timeToLive: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 4
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " (expected: >= 0)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.handler.codec.dns.AbstractDnsRecord java.lang.String io.netty.handler.codec.dns.DnsRecordType int long
StackMap stack:
aload 0
aload 1
ldc "name"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.net.IDN.toASCII:(Ljava/lang/String;)Ljava/lang/String;
invokestatic io.netty.handler.codec.dns.AbstractDnsRecord.appendTrailingDot:(Ljava/lang/String;)Ljava/lang/String;
putfield io.netty.handler.codec.dns.AbstractDnsRecord.name:Ljava/lang/String;
4: aload 0
aload 2
ldc "type"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.codec.dns.DnsRecordType
putfield io.netty.handler.codec.dns.AbstractDnsRecord.type:Lio/netty/handler/codec/dns/DnsRecordType;
5: aload 0
iload 3
i2s
putfield io.netty.handler.codec.dns.AbstractDnsRecord.dnsClass:S
6: aload 0
lload 4
putfield io.netty.handler.codec.dns.AbstractDnsRecord.timeToLive:J
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/handler/codec/dns/AbstractDnsRecord;
0 8 1 name Ljava/lang/String;
0 8 2 type Lio/netty/handler/codec/dns/DnsRecordType;
0 8 3 dnsClass I
0 8 4 timeToLive J
MethodParameters:
Name Flags
name
type
dnsClass
timeToLive
private static java.lang.String appendTrailingDot(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ifle 2
aload 0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 46
if_icmpeq 2
1: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.lang.String name();
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.AbstractDnsRecord.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/dns/AbstractDnsRecord;
public io.netty.handler.codec.dns.DnsRecordType type();
descriptor: ()Lio/netty/handler/codec/dns/DnsRecordType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.dns.AbstractDnsRecord.type:Lio/netty/handler/codec/dns/DnsRecordType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/dns/AbstractDnsRecord;
public int dnsClass();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.dns.AbstractDnsRecord.dnsClass:S
ldc 65535
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/dns/AbstractDnsRecord;
public long timeToLive();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.dns.AbstractDnsRecord.timeToLive:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/dns/AbstractDnsRecord;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof io.netty.handler.codec.dns.DnsRecord
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast io.netty.handler.codec.dns.DnsRecord
astore 2
start local 2 5: aload 0
getfield io.netty.handler.codec.dns.AbstractDnsRecord.hashCode:I
istore 3
start local 3 6: iload 3
ifeq 8
iload 3
aload 2
invokevirtual java.lang.Object.hashCode:()I
if_icmpeq 8
7: iconst_0
ireturn
8: StackMap locals: io.netty.handler.codec.dns.DnsRecord int
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.dns.AbstractDnsRecord.type:()Lio/netty/handler/codec/dns/DnsRecordType;
invokevirtual io.netty.handler.codec.dns.DnsRecordType.intValue:()I
aload 2
invokeinterface io.netty.handler.codec.dns.DnsRecord.type:()Lio/netty/handler/codec/dns/DnsRecordType;
invokevirtual io.netty.handler.codec.dns.DnsRecordType.intValue:()I
if_icmpne 12
9: aload 0
invokevirtual io.netty.handler.codec.dns.AbstractDnsRecord.dnsClass:()I
aload 2
invokeinterface io.netty.handler.codec.dns.DnsRecord.dnsClass:()I
if_icmpne 12
10: aload 0
invokevirtual io.netty.handler.codec.dns.AbstractDnsRecord.name:()Ljava/lang/String;
aload 2
invokeinterface io.netty.handler.codec.dns.DnsRecord.name:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: iconst_1
ireturn
StackMap locals:
StackMap stack:
12: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/netty/handler/codec/dns/AbstractDnsRecord;
0 13 1 obj Ljava/lang/Object;
5 13 2 that Lio/netty/handler/codec/dns/DnsRecord;
6 13 3 hashCode I
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.dns.AbstractDnsRecord.hashCode:I
istore 1
start local 1 1: iload 1
ifeq 3
2: iload 1
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield io.netty.handler.codec.dns.AbstractDnsRecord.name:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
bipush 31
imul
aload 0
invokevirtual io.netty.handler.codec.dns.AbstractDnsRecord.type:()Lio/netty/handler/codec/dns/DnsRecordType;
invokevirtual io.netty.handler.codec.dns.DnsRecordType.intValue:()I
bipush 31
imul
iadd
aload 0
invokevirtual io.netty.handler.codec.dns.AbstractDnsRecord.dnsClass:()I
iadd
dup_x1
putfield io.netty.handler.codec.dns.AbstractDnsRecord.hashCode:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/dns/AbstractDnsRecord;
1 4 1 hashCode I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
bipush 64
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: aload 1
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;
2: bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: aload 0
invokevirtual io.netty.handler.codec.dns.AbstractDnsRecord.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
5: aload 0
invokevirtual io.netty.handler.codec.dns.AbstractDnsRecord.timeToLive:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
6: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: aload 1
aload 0
invokevirtual io.netty.handler.codec.dns.AbstractDnsRecord.dnsClass:()I
invokestatic io.netty.handler.codec.dns.DnsMessageUtil.appendRecordClass:(Ljava/lang/StringBuilder;I)Ljava/lang/StringBuilder;
8: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
9: aload 0
invokevirtual io.netty.handler.codec.dns.AbstractDnsRecord.type:()Lio/netty/handler/codec/dns/DnsRecordType;
invokevirtual io.netty.handler.codec.dns.DnsRecordType.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/netty/handler/codec/dns/AbstractDnsRecord;
1 12 1 buf Ljava/lang/StringBuilder;
}
SourceFile: "AbstractDnsRecord.java"