final class org.xnio.TypeSequenceOption<T> extends org.xnio.Option<org.xnio.Sequence<java.lang.Class<? extends T>>>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.xnio.TypeSequenceOption
super_class: org.xnio.Option
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -4328676629293125136
private final transient java.lang.Class<T> elementDeclType;
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 "elementDeclType"
invokeinterface org.xnio._private.Messages.nullParameter:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
athrow
3: StackMap locals: org.xnio.TypeSequenceOption java.lang.Class java.lang.String java.lang.Class
StackMap stack:
aload 0
aload 3
putfield org.xnio.TypeSequenceOption.elementDeclType:Ljava/lang/Class;
4: aload 0
aload 3
invokestatic org.xnio.Option.getClassParser:(Ljava/lang/Class;)Lorg/xnio/Option$ValueParser;
putfield org.xnio.TypeSequenceOption.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/TypeSequenceOption<TT;>;
0 6 1 declClass Ljava/lang/Class<*>;
0 6 2 name Ljava/lang/String;
0 6 3 elementDeclType Ljava/lang/Class<TT;>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<TT;>;)V
MethodParameters:
Name Flags
declClass final
name final
elementDeclType final
public org.xnio.Sequence<java.lang.Class<? extends T>> cast();
descriptor: (Ljava/lang/Object;)Lorg/xnio/Sequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.xnio.Sequence
ifeq 4
3: aload 1
checkcast org.xnio.Sequence
aload 0
getfield org.xnio.TypeSequenceOption.elementDeclType:Ljava/lang/Class;
invokestatic org.xnio.TypeSequenceOption.castSeq:(Lorg/xnio/Sequence;Ljava/lang/Class;)Lorg/xnio/Sequence;
areturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.Object[]
ifeq 6
5: aload 1
checkcast java.lang.Object[]
invokestatic org.xnio.Sequence.of:([Ljava/lang/Object;)Lorg/xnio/Sequence;
aload 0
getfield org.xnio.TypeSequenceOption.elementDeclType:Ljava/lang/Class;
invokestatic org.xnio.TypeSequenceOption.castSeq:(Lorg/xnio/Sequence;Ljava/lang/Class;)Lorg/xnio/Sequence;
areturn
6: StackMap locals:
StackMap stack:
aload 1
instanceof java.util.Collection
ifeq 8
7: aload 1
checkcast java.util.Collection
invokestatic org.xnio.Sequence.of:(Ljava/util/Collection;)Lorg/xnio/Sequence;
aload 0
getfield org.xnio.TypeSequenceOption.elementDeclType:Ljava/lang/Class;
invokestatic org.xnio.TypeSequenceOption.castSeq:(Lorg/xnio/Sequence;Ljava/lang/Class;)Lorg/xnio/Sequence;
areturn
8: StackMap locals:
StackMap stack:
new java.lang.ClassCastException
dup
ldc "Not a sequence"
invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/xnio/TypeSequenceOption<TT;>;
0 9 1 o Ljava/lang/Object;
Signature: (Ljava/lang/Object;)Lorg/xnio/Sequence<Ljava/lang/Class<+TT;>;>;
MethodParameters:
Name Flags
o final
static <T> org.xnio.Sequence<java.lang.Class<? extends T>> castSeq(org.xnio.Sequence<?>, java.lang.Class<T>);
descriptor: (Lorg/xnio/Sequence;Ljava/lang/Class;)Lorg/xnio/Sequence;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.xnio.Sequence.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.xnio.Sequence java.lang.Class top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 2: aload 2
checkcast java.lang.Class
aload 1
invokevirtual java.lang.Class.asSubclass:(Ljava/lang/Class;)Ljava/lang/Class;
pop
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 seq Lorg/xnio/Sequence<*>;
0 5 1 type Ljava/lang/Class<TT;>;
2 3 2 o Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Lorg/xnio/Sequence<*>;Ljava/lang/Class<TT;>;)Lorg/xnio/Sequence<Ljava/lang/Class<+TT;>;>;
MethodParameters:
Name Flags
seq
type
public org.xnio.Sequence<java.lang.Class<? extends T>> parseValue(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Lorg/xnio/Sequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
2: invokestatic org.xnio.Sequence.empty:()Lorg/xnio/Sequence;
areturn
3: StackMap locals: java.util.List
StackMap stack:
aload 1
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 7
StackMap locals: org.xnio.TypeSequenceOption java.lang.String java.lang.ClassLoader java.util.List top int int java.lang.String[]
StackMap stack:
4: aload 7
iload 5
aaload
astore 4
start local 4 5: aload 3
aload 0
getfield org.xnio.TypeSequenceOption.parser:Lorg/xnio/Option$ValueParser;
aload 4
aload 2
invokeinterface org.xnio.Option$ValueParser.parseValue:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
checkcast java.lang.Class
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 6
if_icmplt 4
8: aload 3
invokestatic org.xnio.Sequence.of:(Ljava/util/Collection;)Lorg/xnio/Sequence;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/xnio/TypeSequenceOption<TT;>;
0 9 1 string Ljava/lang/String;
0 9 2 classLoader Ljava/lang/ClassLoader;
1 9 3 list Ljava/util/List<Ljava/lang/Class<+TT;>;>;
5 6 4 value Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;Ljava/lang/ClassLoader;)Lorg/xnio/Sequence<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.TypeSequenceOption.parseValue:(Ljava/lang/String;Ljava/lang/ClassLoader;)Lorg/xnio/Sequence;
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.TypeSequenceOption.cast:(Ljava/lang/Object;)Lorg/xnio/Sequence;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.ClassCastException
}
Signature: <T:Ljava/lang/Object;>Lorg/xnio/Option<Lorg/xnio/Sequence<Ljava/lang/Class<+TT;>;>;>;
SourceFile: "TypeSequenceOption.java"
InnerClasses:
abstract ValueParser = org.xnio.Option$ValueParser of org.xnio.Option