public final class io.netty.handler.codec.haproxy.HAProxyProtocolVersion extends java.lang.Enum<io.netty.handler.codec.haproxy.HAProxyProtocolVersion>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: io.netty.handler.codec.haproxy.HAProxyProtocolVersion
super_class: java.lang.Enum
{
public static final io.netty.handler.codec.haproxy.HAProxyProtocolVersion V1;
descriptor: Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final io.netty.handler.codec.haproxy.HAProxyProtocolVersion V2;
descriptor: Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static final byte VERSION_MASK;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -16
private final byte byteValue;
descriptor: B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final io.netty.handler.codec.haproxy.HAProxyProtocolVersion[] ENUM$VALUES;
descriptor: [Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new io.netty.handler.codec.haproxy.HAProxyProtocolVersion
dup
ldc "V1"
iconst_0
1: bipush 16
invokespecial io.netty.handler.codec.haproxy.HAProxyProtocolVersion.<init>:(Ljava/lang/String;IB)V
putstatic io.netty.handler.codec.haproxy.HAProxyProtocolVersion.V1:Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
2: new io.netty.handler.codec.haproxy.HAProxyProtocolVersion
dup
ldc "V2"
iconst_1
3: bipush 32
invokespecial io.netty.handler.codec.haproxy.HAProxyProtocolVersion.<init>:(Ljava/lang/String;IB)V
putstatic io.netty.handler.codec.haproxy.HAProxyProtocolVersion.V2:Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
iconst_2
anewarray io.netty.handler.codec.haproxy.HAProxyProtocolVersion
dup
iconst_0
getstatic io.netty.handler.codec.haproxy.HAProxyProtocolVersion.V1:Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
aastore
dup
iconst_1
getstatic io.netty.handler.codec.haproxy.HAProxyProtocolVersion.V2:Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
aastore
putstatic io.netty.handler.codec.haproxy.HAProxyProtocolVersion.ENUM$VALUES:[Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
4: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int, byte);
descriptor: (Ljava/lang/String;IB)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 3 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
1: aload 0
iload 3
putfield io.netty.handler.codec.haproxy.HAProxyProtocolVersion.byteValue:B
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
0 3 3 byteValue B
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
byteValue
public static io.netty.handler.codec.haproxy.HAProxyProtocolVersion valueOf(byte);
descriptor: (B)Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iload 0
bipush -16
iand
istore 1
start local 1 1: iload 1
i2b
lookupswitch { // 2
16: 3
32: 2
default: 4
}
2: StackMap locals: int
StackMap stack:
getstatic io.netty.handler.codec.haproxy.HAProxyProtocolVersion.V2:Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
areturn
3: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.haproxy.HAProxyProtocolVersion.V1:Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 verCmdByte B
1 5 1 version I
MethodParameters:
Name Flags
verCmdByte
public byte byteValue();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.haproxy.HAProxyProtocolVersion.byteValue:B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
public static io.netty.handler.codec.haproxy.HAProxyProtocolVersion[] values();
descriptor: ()[Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic io.netty.handler.codec.haproxy.HAProxyProtocolVersion.ENUM$VALUES:[Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray io.netty.handler.codec.haproxy.HAProxyProtocolVersion
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static io.netty.handler.codec.haproxy.HAProxyProtocolVersion valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast io.netty.handler.codec.haproxy.HAProxyProtocolVersion
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lio/netty/handler/codec/haproxy/HAProxyProtocolVersion;>;
SourceFile: "HAProxyProtocolVersion.java"