public abstract class org.xnio.Option<T> implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.xnio.Option
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1564427329140182760
private final java.lang.Class<?> declClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.util.Map<java.lang.Class<?>, org.xnio.Option$ValueParser<?>> parsers;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Lorg/xnio/Option$ValueParser<*>;>;
private static final org.xnio.Option$ValueParser<?> noParser;
descriptor: Lorg/xnio/Option$ValueParser;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/xnio/Option$ValueParser<*>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: new org.xnio.Option$1
dup
invokespecial org.xnio.Option$1.<init>:()V
putstatic org.xnio.Option.noParser:Lorg/xnio/Option$ValueParser;
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 0
start local 0 2: aload 0
ldc Ljava/lang/Byte;
new org.xnio.Option$2
dup
invokespecial org.xnio.Option$2.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
ldc Ljava/lang/Short;
new org.xnio.Option$3
dup
invokespecial org.xnio.Option$3.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
ldc Ljava/lang/Integer;
new org.xnio.Option$4
dup
invokespecial org.xnio.Option$4.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
ldc Ljava/lang/Long;
new org.xnio.Option$5
dup
invokespecial org.xnio.Option$5.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
ldc Ljava/lang/String;
new org.xnio.Option$6
dup
invokespecial org.xnio.Option$6.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
ldc Ljava/lang/Boolean;
new org.xnio.Option$7
dup
invokespecial org.xnio.Option$7.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
ldc Lorg/xnio/Property;
new org.xnio.Option$8
dup
invokespecial org.xnio.Option$8.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
putstatic org.xnio.Option.parsers:Ljava/util/Map;
end local 0 10: return
LocalVariableTable:
Start End Slot Name Signature
2 10 0 map Ljava/util/Map<Ljava/lang/Class<*>;Lorg/xnio/Option$ValueParser<*>;>;
void <init>(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)V
flags: (0x0000)
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 1
ifnonnull 3
2: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
ldc "declClass"
invokeinterface org.xnio._private.Messages.nullParameter:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
athrow
3: StackMap locals: org.xnio.Option java.lang.Class java.lang.String
StackMap stack:
aload 2
ifnonnull 5
4: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
ldc "name"
invokeinterface org.xnio._private.Messages.nullParameter:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.xnio.Option.declClass:Ljava/lang/Class;
6: aload 0
aload 2
putfield org.xnio.Option.name:Ljava/lang/String;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/xnio/Option<TT;>;
0 8 1 declClass Ljava/lang/Class<*>;
0 8 2 name Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)V
MethodParameters:
Name Flags
declClass final
name final
public static <T> org.xnio.Option<T> simple(java.lang.Class<?>, java.lang.String, java.lang.Class<T>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Lorg/xnio/Option;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.xnio.SingleOption
dup
aload 0
aload 1
aload 2
invokespecial org.xnio.SingleOption.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 declClass Ljava/lang/Class<*>;
0 1 1 name Ljava/lang/String;
0 1 2 type Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<TT;>;)Lorg/xnio/Option<TT;>;
MethodParameters:
Name Flags
declClass final
name final
type final
public static <T> org.xnio.Option<org.xnio.Sequence<T>> sequence(java.lang.Class<?>, java.lang.String, java.lang.Class<T>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Lorg/xnio/Option;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.xnio.SequenceOption
dup
aload 0
aload 1
aload 2
invokespecial org.xnio.SequenceOption.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 declClass Ljava/lang/Class<*>;
0 1 1 name Ljava/lang/String;
0 1 2 elementType Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<TT;>;)Lorg/xnio/Option<Lorg/xnio/Sequence<TT;>;>;
MethodParameters:
Name Flags
declClass final
name final
elementType final
public static <T> org.xnio.Option<java.lang.Class<? extends T>> type(java.lang.Class<?>, java.lang.String, java.lang.Class<T>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Lorg/xnio/Option;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.xnio.TypeOption
dup
aload 0
aload 1
aload 2
invokespecial org.xnio.TypeOption.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 declClass Ljava/lang/Class<*>;
0 1 1 name Ljava/lang/String;
0 1 2 declType Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<TT;>;)Lorg/xnio/Option<Ljava/lang/Class<+TT;>;>;
MethodParameters:
Name Flags
declClass final
name final
declType final
public static <T> org.xnio.Option<org.xnio.Sequence<java.lang.Class<? extends T>>> typeSequence(java.lang.Class<?>, java.lang.String, java.lang.Class<T>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Lorg/xnio/Option;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.xnio.TypeSequenceOption
dup
aload 0
aload 1
aload 2
invokespecial org.xnio.TypeSequenceOption.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 declClass Ljava/lang/Class<*>;
0 1 1 name Ljava/lang/String;
0 1 2 elementDeclType Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<TT;>;)Lorg/xnio/Option<Lorg/xnio/Sequence<Ljava/lang/Class<+TT;>;>;>;
MethodParameters:
Name Flags
declClass final
name final
elementDeclType final
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.Option.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/Option<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 org.xnio.Option.declClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.xnio.Option.name:Ljava/lang/String;
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 Lorg/xnio/Option<TT;>;
public static org.xnio.Option<?> fromString(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Lorg/xnio/Option;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 0
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpne 3
2: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
aload 0
invokeinterface org.xnio._private.Messages.invalidOptionName:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
athrow
3: StackMap locals: int
StackMap stack:
aload 0
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 4: aload 0
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 5: aload 4
iconst_1
aload 1
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 5
start local 5 6: goto 9
end local 5 StackMap locals: java.lang.String java.lang.ClassLoader int java.lang.String java.lang.String
StackMap stack: java.lang.ClassNotFoundException
7: pop
8: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
aload 4
aload 1
invokeinterface org.xnio._private.Messages.optionClassNotFound:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/IllegalArgumentException;
athrow
start local 5 9: StackMap locals: java.lang.Class
StackMap stack:
aload 5
aload 3
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 6
start local 6 10: goto 13
end local 6 StackMap locals:
StackMap stack: java.lang.NoSuchFieldException
11: pop
12: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
aload 3
aload 5
invokeinterface org.xnio._private.Messages.noField:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/IllegalArgumentException;
athrow
start local 6 13: StackMap locals: java.lang.reflect.Field
StackMap stack:
aload 6
invokevirtual java.lang.reflect.Field.getModifiers:()I
istore 7
start local 7 14: iload 7
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 16
15: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
aload 3
aload 5
invokeinterface org.xnio._private.Messages.fieldNotAccessible:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/IllegalArgumentException;
athrow
16: StackMap locals: int
StackMap stack:
iload 7
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifne 18
17: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
aload 3
aload 5
invokeinterface org.xnio._private.Messages.fieldNotStatic:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/IllegalArgumentException;
athrow
18: StackMap locals:
StackMap stack:
aload 6
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.xnio.Option
astore 8
start local 8 19: goto 22
end local 8 StackMap locals:
StackMap stack: java.lang.IllegalAccessException
20: pop
21: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
aload 3
aload 5
invokeinterface org.xnio._private.Messages.fieldNotAccessible:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/IllegalArgumentException;
athrow
start local 8 22: StackMap locals: org.xnio.Option
StackMap stack:
aload 8
ifnonnull 24
23: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
aload 0
invokeinterface org.xnio._private.Messages.invalidNullOption:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
athrow
24: StackMap locals:
StackMap stack:
aload 8
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 name Ljava/lang/String;
0 25 1 classLoader Ljava/lang/ClassLoader;
1 25 2 lastDot I
4 25 3 fieldName Ljava/lang/String;
5 25 4 className Ljava/lang/String;
6 7 5 clazz Ljava/lang/Class<*>;
9 25 5 clazz Ljava/lang/Class<*>;
10 11 6 field Ljava/lang/reflect/Field;
13 25 6 field Ljava/lang/reflect/Field;
14 25 7 modifiers I
19 20 8 option Lorg/xnio/Option<*>;
22 25 8 option Lorg/xnio/Option<*>;
Exception table:
from to target type
5 6 7 Class java.lang.ClassNotFoundException
9 10 11 Class java.lang.NoSuchFieldException
18 19 20 Class java.lang.IllegalAccessException
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;Ljava/lang/ClassLoader;)Lorg/xnio/Option<*>;
MethodParameters:
Name Flags
name
classLoader
public abstract T cast();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.ClassCastException
Signature: (Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
o
public final T cast(, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 1
aload 2
goto 2
StackMap locals:
StackMap stack:
1: aload 0
aload 1
invokevirtual org.xnio.Option.cast:(Ljava/lang/Object;)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/xnio/Option<TT;>;
0 3 1 o Ljava/lang/Object;
0 3 2 defaultVal TT;
Exceptions:
throws java.lang.ClassCastException
Signature: (Ljava/lang/Object;TT;)TT;
MethodParameters:
Name Flags
o
defaultVal
public abstract T parseValue(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;Ljava/lang/ClassLoader;)TT;
MethodParameters:
Name Flags
string
classLoader
protected final java.lang.Object readResolve();
descriptor: ()Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.xnio.Option.declClass:Ljava/lang/Class;
aload 0
getfield org.xnio.Option.name:Ljava/lang/String;
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.reflect.Field.getModifiers:()I
istore 2
start local 2 2: iload 2
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 4
3: new java.io.InvalidObjectException
dup
ldc "Invalid Option instance (the field is not public)"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.reflect.Field int
StackMap stack:
iload 2
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifne 6
5: new java.io.InvalidObjectException
dup
ldc "Invalid Option instance (the field is not static)"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.xnio.Option
astore 3
start local 3 7: aload 3
ifnonnull 9
8: new java.io.InvalidObjectException
dup
ldc "Invalid null Option"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: org.xnio.Option
StackMap stack:
aload 3
10: areturn
end local 3 end local 2 end local 1 11: StackMap locals: org.xnio.Option
StackMap stack: java.lang.NoSuchFieldException
pop
12: new java.io.InvalidObjectException
dup
ldc "Invalid Option instance (no matching field)"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
pop
14: new java.io.InvalidObjectException
dup
ldc "Invalid Option instance (Illegal access on field get)"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/xnio/Option<TT;>;
1 11 1 field Ljava/lang/reflect/Field;
2 11 2 modifiers I
7 11 3 option Lorg/xnio/Option<*>;
Exception table:
from to target type
0 10 11 Class java.lang.NoSuchFieldException
0 10 13 Class java.lang.IllegalAccessException
Exceptions:
throws java.io.ObjectStreamException
public static org.xnio.Option$SetBuilder setBuilder();
descriptor: ()Lorg/xnio/Option$SetBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.xnio.Option$SetBuilder
dup
invokespecial org.xnio.Option$SetBuilder.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
static <T> org.xnio.Option$ValueParser<java.lang.Class<? extends T>> getClassParser(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lorg/xnio/Option$ValueParser;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.xnio.Option$9
dup
aload 0
invokespecial org.xnio.Option$9.<init>:(Ljava/lang/Class;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 argType Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Lorg/xnio/Option$ValueParser<Ljava/lang/Class<+TT;>;>;
MethodParameters:
Name Flags
argType final
static <T, E extends java.lang.Enum<E>> org.xnio.Option$ValueParser<T> getEnumParser(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lorg/xnio/Option$ValueParser;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.xnio.Option$10
dup
aload 0
invokespecial org.xnio.Option$10.<init>:(Ljava/lang/Class;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 enumType Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;E:Ljava/lang/Enum<TE;>;>(Ljava/lang/Class<TT;>;)Lorg/xnio/Option$ValueParser<TT;>;
MethodParameters:
Name Flags
enumType final
private static <T, E extends java.lang.Enum<E>> java.lang.Class<E> asEnum(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 enumType Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;E:Ljava/lang/Enum<TE;>;>(Ljava/lang/Class<TT;>;)Ljava/lang/Class<TE;>;
MethodParameters:
Name Flags
enumType final
static <T> org.xnio.Option$ValueParser<T> getParser(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lorg/xnio/Option$ValueParser;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.isEnum:()Z
ifeq 2
1: aload 0
invokestatic org.xnio.Option.getEnumParser:(Ljava/lang/Class;)Lorg/xnio/Option$ValueParser;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.xnio.Option.parsers:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.xnio.Option$ValueParser
astore 1
start local 1 3: aload 1
ifnonnull 4
getstatic org.xnio.Option.noParser:Lorg/xnio/Option$ValueParser;
goto 5
StackMap locals: org.xnio.Option$ValueParser
StackMap stack:
4: aload 1
StackMap locals:
StackMap stack: org.xnio.Option$ValueParser
5: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 argType Ljava/lang/Class<TT;>;
3 6 1 value Lorg/xnio/Option$ValueParser<*>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Lorg/xnio/Option$ValueParser<TT;>;
MethodParameters:
Name Flags
argType final
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/io/Serializable;
SourceFile: "Option.java"
NestMembers:
org.xnio.Option$1 org.xnio.Option$10 org.xnio.Option$2 org.xnio.Option$3 org.xnio.Option$4 org.xnio.Option$5 org.xnio.Option$6 org.xnio.Option$7 org.xnio.Option$8 org.xnio.Option$9 org.xnio.Option$SetBuilder org.xnio.Option$ValueParser
InnerClasses:
org.xnio.Option$1
org.xnio.Option$10
org.xnio.Option$2
org.xnio.Option$3
org.xnio.Option$4
org.xnio.Option$5
org.xnio.Option$6
org.xnio.Option$7
org.xnio.Option$8
org.xnio.Option$9
public SetBuilder = org.xnio.Option$SetBuilder of org.xnio.Option
abstract ValueParser = org.xnio.Option$ValueParser of org.xnio.Option