final class org.xnio.TypeOption<T> extends org.xnio.Option<java.lang.Class<? extends T>>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.xnio.TypeOption
super_class: org.xnio.Option
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2449094406108952764
private final transient java.lang.Class<T> type;
descriptor: Ljava/lang/Class;
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
Signature: Ljava/lang/Class<TT;>;
private final transient org.xnio.Option$ValueParser<java.lang.Class<? extends T>> parser;
descriptor: Lorg/xnio/Option$ValueParser;
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
Signature: Lorg/xnio/Option$ValueParser<Ljava/lang/Class<+TT;>;>;
void <init>(java.lang.Class<?>, java.lang.String, java.lang.Class<T>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial org.xnio.Option.<init>:(Ljava/lang/Class;Ljava/lang/String;)V
1: aload 3
ifnonnull 3
2: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
ldc "type"
invokeinterface org.xnio._private.Messages.nullParameter:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
athrow
3: StackMap locals: org.xnio.TypeOption java.lang.Class java.lang.String java.lang.Class
StackMap stack:
aload 0
aload 3
putfield org.xnio.TypeOption.type:Ljava/lang/Class;
4: aload 0
aload 3
invokestatic org.xnio.Option.getClassParser:(Ljava/lang/Class;)Lorg/xnio/Option$ValueParser;
putfield org.xnio.TypeOption.parser:Lorg/xnio/Option$ValueParser;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/xnio/TypeOption<TT;>;
0 6 1 declClass Ljava/lang/Class<*>;
0 6 2 name Ljava/lang/String;
0 6 3 type Ljava/lang/Class<TT;>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<TT;>;)V
MethodParameters:
Name Flags
declClass final
name final
type final
public java.lang.Class<? extends T> cast();
descriptor: (Ljava/lang/Object;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast java.lang.Class
aload 0
getfield org.xnio.TypeOption.type:Ljava/lang/Class;
invokevirtual java.lang.Class.asSubclass:(Ljava/lang/Class;)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/TypeOption<TT;>;
0 1 1 o Ljava/lang/Object;
Signature: (Ljava/lang/Object;)Ljava/lang/Class<+TT;>;
MethodParameters:
Name Flags
o final
public java.lang.Class<? extends T> parseValue(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.xnio.TypeOption.parser:Lorg/xnio/Option$ValueParser;
aload 1
aload 2
invokeinterface org.xnio.Option$ValueParser.parseValue:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
checkcast java.lang.Class
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/TypeOption<TT;>;
0 1 1 string Ljava/lang/String;
0 1 2 classLoader Ljava/lang/ClassLoader;
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class<+TT;>;
MethodParameters:
Name Flags
string final
classLoader final
public java.lang.Object parseValue(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual org.xnio.TypeOption.parseValue:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.IllegalArgumentException
public java.lang.Object cast(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.xnio.TypeOption.cast:(Ljava/lang/Object;)Ljava/lang/Class;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.ClassCastException
}
Signature: <T:Ljava/lang/Object;>Lorg/xnio/Option<Ljava/lang/Class<+TT;>;>;
SourceFile: "TypeOption.java"
InnerClasses:
abstract ValueParser = org.xnio.Option$ValueParser of org.xnio.Option