public final class io.netty.handler.codec.ProtocolDetectionResult<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.ProtocolDetectionResult
super_class: java.lang.Object
{
private static final io.netty.handler.codec.ProtocolDetectionResult NEEDS_MORE_DATE;
descriptor: Lio/netty/handler/codec/ProtocolDetectionResult;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.netty.handler.codec.ProtocolDetectionResult INVALID;
descriptor: Lio/netty/handler/codec/ProtocolDetectionResult;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final io.netty.handler.codec.ProtocolDetectionState state;
descriptor: Lio/netty/handler/codec/ProtocolDetectionState;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final T result;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TT;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new io.netty.handler.codec.ProtocolDetectionResult
dup
getstatic io.netty.handler.codec.ProtocolDetectionState.NEEDS_MORE_DATA:Lio/netty/handler/codec/ProtocolDetectionState;
aconst_null
invokespecial io.netty.handler.codec.ProtocolDetectionResult.<init>:(Lio/netty/handler/codec/ProtocolDetectionState;Ljava/lang/Object;)V
1: putstatic io.netty.handler.codec.ProtocolDetectionResult.NEEDS_MORE_DATE:Lio/netty/handler/codec/ProtocolDetectionResult;
2: new io.netty.handler.codec.ProtocolDetectionResult
dup
getstatic io.netty.handler.codec.ProtocolDetectionState.INVALID:Lio/netty/handler/codec/ProtocolDetectionState;
aconst_null
invokespecial io.netty.handler.codec.ProtocolDetectionResult.<init>:(Lio/netty/handler/codec/ProtocolDetectionState;Ljava/lang/Object;)V
3: putstatic io.netty.handler.codec.ProtocolDetectionResult.INVALID:Lio/netty/handler/codec/ProtocolDetectionResult;
4: return
LocalVariableTable:
Start End Slot Name Signature
public static <T> io.netty.handler.codec.ProtocolDetectionResult<T> needsMoreData();
descriptor: ()Lio/netty/handler/codec/ProtocolDetectionResult;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.netty.handler.codec.ProtocolDetectionResult.NEEDS_MORE_DATE:Lio/netty/handler/codec/ProtocolDetectionResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <T:Ljava/lang/Object;>()Lio/netty/handler/codec/ProtocolDetectionResult<TT;>;
public static <T> io.netty.handler.codec.ProtocolDetectionResult<T> invalid();
descriptor: ()Lio/netty/handler/codec/ProtocolDetectionResult;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.netty.handler.codec.ProtocolDetectionResult.INVALID:Lio/netty/handler/codec/ProtocolDetectionResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <T:Ljava/lang/Object;>()Lio/netty/handler/codec/ProtocolDetectionResult<TT;>;
public static <T> io.netty.handler.codec.ProtocolDetectionResult<T> detected(T);
descriptor: (Ljava/lang/Object;)Lio/netty/handler/codec/ProtocolDetectionResult;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new io.netty.handler.codec.ProtocolDetectionResult
dup
getstatic io.netty.handler.codec.ProtocolDetectionState.DETECTED:Lio/netty/handler/codec/ProtocolDetectionState;
aload 0
ldc "protocol"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
invokespecial io.netty.handler.codec.ProtocolDetectionResult.<init>:(Lio/netty/handler/codec/ProtocolDetectionState;Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 protocol TT;
Signature: <T:Ljava/lang/Object;>(TT;)Lio/netty/handler/codec/ProtocolDetectionResult<TT;>;
MethodParameters:
Name Flags
protocol
private void <init>(io.netty.handler.codec.ProtocolDetectionState, );
descriptor: (Lio/netty/handler/codec/ProtocolDetectionState;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.netty.handler.codec.ProtocolDetectionResult.state:Lio/netty/handler/codec/ProtocolDetectionState;
2: aload 0
aload 2
putfield io.netty.handler.codec.ProtocolDetectionResult.result:Ljava/lang/Object;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/ProtocolDetectionResult<TT;>;
0 4 1 state Lio/netty/handler/codec/ProtocolDetectionState;
0 4 2 result TT;
Signature: (Lio/netty/handler/codec/ProtocolDetectionState;TT;)V
MethodParameters:
Name Flags
state
result
public io.netty.handler.codec.ProtocolDetectionState state();
descriptor: ()Lio/netty/handler/codec/ProtocolDetectionState;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.ProtocolDetectionResult.state:Lio/netty/handler/codec/ProtocolDetectionState;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/ProtocolDetectionResult<TT;>;
public T detectedProtocol();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.ProtocolDetectionResult.result:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/ProtocolDetectionResult<TT;>;
Signature: ()TT;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ProtocolDetectionResult.java"