final class org.xnio.SingleOption<T> extends org.xnio.Option<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.xnio.SingleOption
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<T> parser;
descriptor: Lorg/xnio/Option$ValueParser;
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
Signature: Lorg/xnio/Option$ValueParser<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.SingleOption java.lang.Class java.lang.String java.lang.Class
StackMap stack:
aload 0
aload 3
putfield org.xnio.SingleOption.type:Ljava/lang/Class;
4: aload 0
aload 3
invokestatic org.xnio.Option.getParser:(Ljava/lang/Class;)Lorg/xnio/Option$ValueParser;
putfield org.xnio.SingleOption.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/SingleOption<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 T cast();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.SingleOption.type:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/SingleOption<TT;>;
0 1 1 o Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
o final
public T parseValue(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
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.SingleOption.parser:Lorg/xnio/Option$ValueParser;
aload 1
aload 2
invokeinterface org.xnio.Option$ValueParser.parseValue:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/SingleOption<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;)TT;
MethodParameters:
Name Flags
string final
classLoader final
}
Signature: <T:Ljava/lang/Object;>Lorg/xnio/Option<TT;>;
SourceFile: "SingleOption.java"
InnerClasses:
abstract ValueParser = org.xnio.Option$ValueParser of org.xnio.Option