final class org.xnio.SequenceOption<T> extends org.xnio.Option<org.xnio.Sequence<T>>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.xnio.SequenceOption
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> elementType;
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 "elementType"
invokeinterface org.xnio._private.Messages.nullParameter:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
athrow
3: StackMap locals: org.xnio.SequenceOption java.lang.Class java.lang.String java.lang.Class
StackMap stack:
aload 0
aload 3
putfield org.xnio.SequenceOption.elementType:Ljava/lang/Class;
4: aload 0
aload 3
invokestatic org.xnio.Option.getParser:(Ljava/lang/Class;)Lorg/xnio/Option$ValueParser;
putfield org.xnio.SequenceOption.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/SequenceOption<TT;>;
0 6 1 declClass Ljava/lang/Class<*>;
0 6 2 name Ljava/lang/String;
0 6 3 elementType Ljava/lang/Class<TT;>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<TT;>;)V
MethodParameters:
Name Flags
declClass final
name final
elementType final
public org.xnio.Sequence<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.SequenceOption.elementType:Ljava/lang/Class;
invokevirtual org.xnio.Sequence.cast:(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.SequenceOption.elementType:Ljava/lang/Class;
invokevirtual org.xnio.Sequence.cast:(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.SequenceOption.elementType:Ljava/lang/Class;
invokevirtual org.xnio.Sequence.cast:(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/SequenceOption<TT;>;
0 9 1 o Ljava/lang/Object;
Signature: (Ljava/lang/Object;)Lorg/xnio/Sequence<TT;>;
MethodParameters:
Name Flags
o final
public org.xnio.Sequence<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.SequenceOption 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.SequenceOption.parser:Lorg/xnio/Option$ValueParser;
aload 4
aload 2
invokeinterface org.xnio.Option$ValueParser.parseValue:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
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/SequenceOption<TT;>;
0 9 1 string Ljava/lang/String;
0 9 2 classLoader Ljava/lang/ClassLoader;
1 9 3 list Ljava/util/List<TT;>;
5 6 4 value Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;Ljava/lang/ClassLoader;)Lorg/xnio/Sequence<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.SequenceOption.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.SequenceOption.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<TT;>;>;
SourceFile: "SequenceOption.java"
InnerClasses:
abstract ValueParser = org.xnio.Option$ValueParser of org.xnio.Option