public abstract class jdk.internal.joptsimple.AbstractOptionSpec<V> implements jdk.internal.joptsimple.OptionSpec<V>, jdk.internal.joptsimple.OptionDescriptor
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.internal.joptsimple.AbstractOptionSpec
super_class: java.lang.Object
{
private final java.util.List<java.lang.String> options;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private final java.lang.String description;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean forHelp;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
ldc ""
invokespecial jdk.internal.joptsimple.AbstractOptionSpec.<init>:(Ljava/util/List;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
0 2 1 option Ljava/lang/String;
MethodParameters:
Name Flags
option
void <init>(java.util.List<java.lang.String>, java.lang.String);
descriptor: (Ljava/util/List;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, 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 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.internal.joptsimple.AbstractOptionSpec.options:Ljava/util/List;
2: aload 0
aload 1
invokevirtual jdk.internal.joptsimple.AbstractOptionSpec.arrangeOptions:(Ljava/util/List;)V
3: aload 0
aload 2
putfield jdk.internal.joptsimple.AbstractOptionSpec.description:Ljava/lang/String;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
0 5 1 options Ljava/util/List<Ljava/lang/String;>;
0 5 2 description Ljava/lang/String;
Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
options
description
public final java.util.List<java.lang.String> options();
descriptor: ()Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.joptsimple.AbstractOptionSpec.options:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public final java.util.List<V> values(jdk.internal.joptsimple.OptionSet);
descriptor: (Ljdk/internal/joptsimple/OptionSet;)Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual jdk.internal.joptsimple.OptionSet.valuesOf:(Ljdk/internal/joptsimple/OptionSpec;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
0 1 1 detectedOptions Ljdk/internal/joptsimple/OptionSet;
Signature: (Ljdk/internal/joptsimple/OptionSet;)Ljava/util/List<TV;>;
MethodParameters:
Name Flags
detectedOptions
public final V value(jdk.internal.joptsimple.OptionSet);
descriptor: (Ljdk/internal/joptsimple/OptionSet;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual jdk.internal.joptsimple.OptionSet.valueOf:(Ljdk/internal/joptsimple/OptionSpec;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
0 1 1 detectedOptions Ljdk/internal/joptsimple/OptionSet;
Signature: (Ljdk/internal/joptsimple/OptionSet;)TV;
MethodParameters:
Name Flags
detectedOptions
public java.lang.String description();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.joptsimple.AbstractOptionSpec.description:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
public final jdk.internal.joptsimple.AbstractOptionSpec<V> forHelp();
descriptor: ()Ljdk/internal/joptsimple/AbstractOptionSpec;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield jdk.internal.joptsimple.AbstractOptionSpec.forHelp:Z
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
Signature: ()Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
public final boolean isForHelp();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.joptsimple.AbstractOptionSpec.forHelp:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
public boolean representsNonOptions();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
protected abstract V convert(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/lang/String;)TV;
MethodParameters:
Name Flags
argument
protected V convertWith(jdk.internal.joptsimple.ValueConverter<V>, java.lang.String);
descriptor: (Ljdk/internal/joptsimple/ValueConverter;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic jdk.internal.joptsimple.internal.Reflection.convertWith:(Ljdk/internal/joptsimple/ValueConverter;Ljava/lang/String;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 3
start local 3 3: new jdk.internal.joptsimple.OptionArgumentConversionException
dup
aload 0
aload 2
aload 3
invokespecial jdk.internal.joptsimple.OptionArgumentConversionException.<init>:(Ljdk/internal/joptsimple/OptionSpec;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
0 4 1 converter Ljdk/internal/joptsimple/ValueConverter<TV;>;
0 4 2 argument Ljava/lang/String;
3 4 3 ex Ljava/lang/RuntimeException;
Exception table:
from to target type
0 1 2 Class jdk.internal.joptsimple.internal.ReflectionException
0 1 2 Class jdk.internal.joptsimple.ValueConversionException
Signature: (Ljdk/internal/joptsimple/ValueConverter<TV;>;Ljava/lang/String;)TV;
MethodParameters:
Name Flags
converter
argument
protected java.lang.String argumentTypeIndicatorFrom(jdk.internal.joptsimple.ValueConverter<V>);
descriptor: (Ljdk/internal/joptsimple/ValueConverter;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, 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
invokeinterface jdk.internal.joptsimple.ValueConverter.valuePattern:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnonnull 4
aload 1
invokeinterface jdk.internal.joptsimple.ValueConverter.valueType:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
goto 5
StackMap locals: java.lang.String
StackMap stack:
4: aload 2
StackMap locals:
StackMap stack: java.lang.String
5: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
0 6 1 converter Ljdk/internal/joptsimple/ValueConverter<TV;>;
3 6 2 pattern Ljava/lang/String;
Signature: (Ljdk/internal/joptsimple/ValueConverter<TV;>;)Ljava/lang/String;
MethodParameters:
Name Flags
converter
abstract void handleOption(jdk.internal.joptsimple.OptionParser, jdk.internal.joptsimple.ArgumentList, jdk.internal.joptsimple.OptionSet, java.lang.String);
descriptor: (Ljdk/internal/joptsimple/OptionParser;Ljdk/internal/joptsimple/ArgumentList;Ljdk/internal/joptsimple/OptionSet;Ljava/lang/String;)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
parser
arguments
detectedOptions
detectedArgument
private void arrangeOptions(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 3
1: aload 0
getfield jdk.internal.joptsimple.AbstractOptionSpec.options:Ljava/util/List;
aload 1
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
2: return
3: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 5: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: jdk.internal.joptsimple.AbstractOptionSpec java.util.List java.util.List java.util.List top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 7: aload 4
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpne 9
8: aload 2
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
goto 10
9: StackMap locals: jdk.internal.joptsimple.AbstractOptionSpec java.util.List java.util.List java.util.List java.lang.String java.util.Iterator
StackMap stack:
aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 10: StackMap locals: jdk.internal.joptsimple.AbstractOptionSpec java.util.List java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
11: aload 2
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
12: aload 3
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
13: aload 0
getfield jdk.internal.joptsimple.AbstractOptionSpec.options:Ljava/util/List;
aload 2
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
14: aload 0
getfield jdk.internal.joptsimple.AbstractOptionSpec.options:Ljava/util/List;
aload 3
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
0 16 1 unarranged Ljava/util/List<Ljava/lang/String;>;
4 16 2 shortOptions Ljava/util/List<Ljava/lang/String;>;
5 16 3 longOptions Ljava/util/List<Ljava/lang/String;>;
7 10 4 each Ljava/lang/String;
Signature: (Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
unarranged
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.internal.joptsimple.AbstractOptionSpec
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.internal.joptsimple.AbstractOptionSpec
astore 2
start local 2 3: aload 0
getfield jdk.internal.joptsimple.AbstractOptionSpec.options:Ljava/util/List;
aload 2
getfield jdk.internal.joptsimple.AbstractOptionSpec.options:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
0 4 1 that Ljava/lang/Object;
3 4 2 other Ljdk/internal/joptsimple/AbstractOptionSpec<*>;
MethodParameters:
Name Flags
that
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.joptsimple.AbstractOptionSpec.options:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.joptsimple.AbstractOptionSpec.options:Ljava/util/List;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/joptsimple/AbstractOptionSpec<TV;>;
}
Signature: <V:Ljava/lang/Object;>Ljava/lang/Object;Ljdk/internal/joptsimple/OptionSpec<TV;>;Ljdk/internal/joptsimple/OptionDescriptor;
SourceFile: "AbstractOptionSpec.java"