public class io.netty.handler.codec.dns.DnsResponseCode implements java.lang.Comparable<io.netty.handler.codec.dns.DnsResponseCode>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.dns.DnsResponseCode
super_class: java.lang.Object
{
public static final io.netty.handler.codec.dns.DnsResponseCode NOERROR;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode FORMERR;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode SERVFAIL;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode NXDOMAIN;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode NOTIMP;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode REFUSED;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode YXDOMAIN;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode YXRRSET;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode NXRRSET;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode NOTAUTH;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode NOTZONE;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode BADVERS_OR_BADSIG;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode BADKEY;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode BADTIME;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode BADMODE;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode BADNAME;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.dns.DnsResponseCode BADALG;
descriptor: Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final int code;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String text;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new io.netty.handler.codec.dns.DnsResponseCode
dup
iconst_0
ldc "NoError"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.NOERROR:Lio/netty/handler/codec/dns/DnsResponseCode;
1: new io.netty.handler.codec.dns.DnsResponseCode
dup
iconst_1
ldc "FormErr"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.FORMERR:Lio/netty/handler/codec/dns/DnsResponseCode;
2: new io.netty.handler.codec.dns.DnsResponseCode
dup
iconst_2
ldc "ServFail"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.SERVFAIL:Lio/netty/handler/codec/dns/DnsResponseCode;
3: new io.netty.handler.codec.dns.DnsResponseCode
dup
iconst_3
ldc "NXDomain"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.NXDOMAIN:Lio/netty/handler/codec/dns/DnsResponseCode;
4: new io.netty.handler.codec.dns.DnsResponseCode
dup
iconst_4
ldc "NotImp"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.NOTIMP:Lio/netty/handler/codec/dns/DnsResponseCode;
5: new io.netty.handler.codec.dns.DnsResponseCode
dup
iconst_5
ldc "Refused"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.REFUSED:Lio/netty/handler/codec/dns/DnsResponseCode;
6: new io.netty.handler.codec.dns.DnsResponseCode
dup
bipush 6
ldc "YXDomain"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.YXDOMAIN:Lio/netty/handler/codec/dns/DnsResponseCode;
7: new io.netty.handler.codec.dns.DnsResponseCode
dup
bipush 7
ldc "YXRRSet"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.YXRRSET:Lio/netty/handler/codec/dns/DnsResponseCode;
8: new io.netty.handler.codec.dns.DnsResponseCode
dup
bipush 8
ldc "NXRRSet"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.NXRRSET:Lio/netty/handler/codec/dns/DnsResponseCode;
9: new io.netty.handler.codec.dns.DnsResponseCode
dup
bipush 9
ldc "NotAuth"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.NOTAUTH:Lio/netty/handler/codec/dns/DnsResponseCode;
10: new io.netty.handler.codec.dns.DnsResponseCode
dup
bipush 10
ldc "NotZone"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.NOTZONE:Lio/netty/handler/codec/dns/DnsResponseCode;
11: new io.netty.handler.codec.dns.DnsResponseCode
dup
bipush 16
ldc "BADVERS_OR_BADSIG"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.BADVERS_OR_BADSIG:Lio/netty/handler/codec/dns/DnsResponseCode;
12: new io.netty.handler.codec.dns.DnsResponseCode
dup
bipush 17
ldc "BADKEY"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.BADKEY:Lio/netty/handler/codec/dns/DnsResponseCode;
13: new io.netty.handler.codec.dns.DnsResponseCode
dup
bipush 18
ldc "BADTIME"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.BADTIME:Lio/netty/handler/codec/dns/DnsResponseCode;
14: new io.netty.handler.codec.dns.DnsResponseCode
dup
bipush 19
ldc "BADMODE"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.BADMODE:Lio/netty/handler/codec/dns/DnsResponseCode;
15: new io.netty.handler.codec.dns.DnsResponseCode
dup
bipush 20
ldc "BADNAME"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.BADNAME:Lio/netty/handler/codec/dns/DnsResponseCode;
16: new io.netty.handler.codec.dns.DnsResponseCode
dup
bipush 21
ldc "BADALG"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.dns.DnsResponseCode.BADALG:Lio/netty/handler/codec/dns/DnsResponseCode;
return
LocalVariableTable:
Start End Slot Name Signature
public static io.netty.handler.codec.dns.DnsResponseCode valueOf(int);
descriptor: (I)Lio/netty/handler/codec/dns/DnsResponseCode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 21
0: 1
1: 2
2: 3
3: 4
4: 5
5: 6
6: 7
7: 8
8: 9
9: 10
10: 11
11: 18
12: 18
13: 18
14: 18
15: 18
16: 12
17: 13
18: 14
19: 15
20: 16
21: 17
default: 18
}
1: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.NOERROR:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
2: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.FORMERR:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
3: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.SERVFAIL:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
4: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.NXDOMAIN:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
5: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.NOTIMP:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
6: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.REFUSED:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
7: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.YXDOMAIN:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
8: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.YXRRSET:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
9: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.NXRRSET:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
10: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.NOTAUTH:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
11: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.NOTZONE:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
12: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.BADVERS_OR_BADSIG:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
13: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.BADKEY:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
14: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.BADTIME:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
15: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.BADMODE:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
16: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.BADNAME:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
17: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.dns.DnsResponseCode.BADALG:Lio/netty/handler/codec/dns/DnsResponseCode;
areturn
18: StackMap locals:
StackMap stack:
new io.netty.handler.codec.dns.DnsResponseCode
dup
iload 0
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 responseCode I
MethodParameters:
Name Flags
responseCode
private void <init>(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ldc "UNKNOWN"
invokespecial io.netty.handler.codec.dns.DnsResponseCode.<init>:(ILjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/dns/DnsResponseCode;
0 2 1 code I
MethodParameters:
Name Flags
code
public void <init>(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
iflt 2
iload 1
ldc 65535
if_icmple 3
2: StackMap locals: io.netty.handler.codec.dns.DnsResponseCode int java.lang.String
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "code: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " (expected: 0 ~ 65535)"
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:
StackMap stack:
aload 0
iload 1
putfield io.netty.handler.codec.dns.DnsResponseCode.code:I
4: aload 0
aload 2
ldc "name"
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.DnsResponseCode.name:Ljava/lang/String;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/handler/codec/dns/DnsResponseCode;
0 6 1 code I
0 6 2 name Ljava/lang/String;
MethodParameters:
Name Flags
code
name
public int intValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.dns.DnsResponseCode.code:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/dns/DnsResponseCode;
public int compareTo(io.netty.handler.codec.dns.DnsResponseCode);
descriptor: (Lio/netty/handler/codec/dns/DnsResponseCode;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.handler.codec.dns.DnsResponseCode.intValue:()I
aload 1
invokevirtual io.netty.handler.codec.dns.DnsResponseCode.intValue:()I
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/dns/DnsResponseCode;
0 1 1 o Lio/netty/handler/codec/dns/DnsResponseCode;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.handler.codec.dns.DnsResponseCode.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/dns/DnsResponseCode;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof io.netty.handler.codec.dns.DnsResponseCode
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.dns.DnsResponseCode.intValue:()I
aload 1
checkcast io.netty.handler.codec.dns.DnsResponseCode
invokevirtual io.netty.handler.codec.dns.DnsResponseCode.intValue:()I
if_icmpne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/dns/DnsResponseCode;
0 4 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.dns.DnsResponseCode.text:Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
new java.lang.StringBuilder
dup
aload 0
getfield io.netty.handler.codec.dns.DnsResponseCode.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokevirtual io.netty.handler.codec.dns.DnsResponseCode.intValue:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
dup
astore 1
putfield io.netty.handler.codec.dns.DnsResponseCode.text:Ljava/lang/String;
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/dns/DnsResponseCode;
1 4 1 text Ljava/lang/String;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.netty.handler.codec.dns.DnsResponseCode
invokevirtual io.netty.handler.codec.dns.DnsResponseCode.compareTo:(Lio/netty/handler/codec/dns/DnsResponseCode;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lio/netty/handler/codec/dns/DnsResponseCode;>;
SourceFile: "DnsResponseCode.java"