public class io.netty.channel.ReflectiveChannelFactory<T extends io.netty.channel.Channel> implements io.netty.channel.ChannelFactory<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.channel.ReflectiveChannelFactory
super_class: java.lang.Object
{
private final java.lang.Class<? extends T> clazz;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<+TT;>;
public void <init>(java.lang.Class<? extends T>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "clazz"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.channel.ReflectiveChannelFactory java.lang.Class
StackMap stack:
aload 0
aload 1
putfield io.netty.channel.ReflectiveChannelFactory.clazz:Ljava/lang/Class;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/channel/ReflectiveChannelFactory<TT;>;
0 5 1 clazz Ljava/lang/Class<+TT;>;
Signature: (Ljava/lang/Class<+TT;>;)V
MethodParameters:
Name Flags
clazz
public T newChannel();
descriptor: ()Lio/netty/channel/Channel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.ReflectiveChannelFactory.clazz:Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.netty.channel.Channel
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 3: new io.netty.channel.ChannelException
dup
new java.lang.StringBuilder
dup
ldc "Unable to create Channel from class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.netty.channel.ReflectiveChannelFactory.clazz:Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial io.netty.channel.ChannelException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/channel/ReflectiveChannelFactory<TT;>;
3 4 1 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
Signature: ()TT;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield io.netty.channel.ReflectiveChannelFactory.clazz:Ljava/lang/Class;
invokestatic io.netty.util.internal.StringUtil.simpleClassName:(Ljava/lang/Class;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/ReflectiveChannelFactory<TT;>;
}
Signature: <T::Lio/netty/channel/Channel;>Ljava/lang/Object;Lio/netty/channel/ChannelFactory<TT;>;
SourceFile: "ReflectiveChannelFactory.java"