public class jdk.tools.jlink.internal.TaskHelper$Option<T> implements java.lang.Comparable<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.tools.jlink.internal.TaskHelper$Option
super_class: java.lang.Object
{
final boolean hasArg;
descriptor: Z
flags: (0x0010) ACC_FINAL
final jdk.tools.jlink.internal.TaskHelper$Option$Processing<T> processing;
descriptor: Ljdk/tools/jlink/internal/TaskHelper$Option$Processing;
flags: (0x0010) ACC_FINAL
Signature: Ljdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;
final boolean hidden;
descriptor: Z
flags: (0x0010) ACC_FINAL
final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.lang.String shortname;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.lang.String shortname2;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final boolean terminalOption;
descriptor: Z
flags: (0x0010) ACC_FINAL
public void <init>(boolean, jdk.tools.jlink.internal.TaskHelper$Option$Processing<T>, boolean, java.lang.String, java.lang.String, java.lang.String, );
descriptor: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 4
ldc "--"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 3
2: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "option name missing --, "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: jdk.tools.jlink.internal.TaskHelper$Option int jdk.tools.jlink.internal.TaskHelper$Option$Processing int java.lang.String java.lang.String java.lang.String int
StackMap stack:
aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifne 5
aload 5
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 5
4: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "short name missing -, "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield jdk.tools.jlink.internal.TaskHelper$Option.hasArg:Z
6: aload 0
aload 2
putfield jdk.tools.jlink.internal.TaskHelper$Option.processing:Ljdk/tools/jlink/internal/TaskHelper$Option$Processing;
7: aload 0
iload 3
putfield jdk.tools.jlink.internal.TaskHelper$Option.hidden:Z
8: aload 0
aload 4
putfield jdk.tools.jlink.internal.TaskHelper$Option.name:Ljava/lang/String;
9: aload 0
aload 5
putfield jdk.tools.jlink.internal.TaskHelper$Option.shortname:Ljava/lang/String;
10: aload 0
aload 6
putfield jdk.tools.jlink.internal.TaskHelper$Option.shortname2:Ljava/lang/String;
11: aload 0
iload 7
putfield jdk.tools.jlink.internal.TaskHelper$Option.terminalOption:Z
12: return
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 13 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
0 13 1 hasArg Z
0 13 2 processing Ljdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;
0 13 3 hidden Z
0 13 4 name Ljava/lang/String;
0 13 5 shortname Ljava/lang/String;
0 13 6 shortname2 Ljava/lang/String;
0 13 7 isTerminal Z
Signature: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
MethodParameters:
Name Flags
hasArg
processing
hidden
name
shortname
shortname2
isTerminal
public void <init>(boolean, jdk.tools.jlink.internal.TaskHelper$Option$Processing<T>, boolean, java.lang.String, java.lang.String, );
descriptor: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
iload 1
aload 2
iconst_0
aload 4
aload 5
ldc ""
iload 6
invokespecial jdk.tools.jlink.internal.TaskHelper$Option.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
1: return
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 2 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
0 2 1 hasArg Z
0 2 2 processing Ljdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;
0 2 3 hidden Z
0 2 4 name Ljava/lang/String;
0 2 5 shortname Ljava/lang/String;
0 2 6 isTerminal Z
Signature: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;ZLjava/lang/String;Ljava/lang/String;Z)V
MethodParameters:
Name Flags
hasArg
processing
hidden
name
shortname
isTerminal
public void <init>(boolean, jdk.tools.jlink.internal.TaskHelper$Option$Processing<T>, java.lang.String, java.lang.String, );
descriptor: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;Ljava/lang/String;Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
aload 2
iconst_0
aload 3
aload 4
ldc ""
iload 5
invokespecial jdk.tools.jlink.internal.TaskHelper$Option.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
1: return
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 2 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
0 2 1 hasArg Z
0 2 2 processing Ljdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;
0 2 3 name Ljava/lang/String;
0 2 4 shortname Ljava/lang/String;
0 2 5 isTerminal Z
Signature: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;Ljava/lang/String;Ljava/lang/String;Z)V
MethodParameters:
Name Flags
hasArg
processing
name
shortname
isTerminal
public void <init>(boolean, jdk.tools.jlink.internal.TaskHelper$Option$Processing<T>, java.lang.String, java.lang.String, java.lang.String);
descriptor: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
aload 2
iconst_0
aload 3
aload 4
aload 5
iconst_0
invokespecial jdk.tools.jlink.internal.TaskHelper$Option.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
1: return
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 2 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
0 2 1 hasArg Z
0 2 2 processing Ljdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;
0 2 3 name Ljava/lang/String;
0 2 4 shortname Ljava/lang/String;
0 2 5 shortname2 Ljava/lang/String;
Signature: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
MethodParameters:
Name Flags
hasArg
processing
name
shortname
shortname2
public void <init>(boolean, jdk.tools.jlink.internal.TaskHelper$Option$Processing<T>, java.lang.String, java.lang.String);
descriptor: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aload 2
iconst_0
aload 3
aload 4
ldc ""
iconst_0
invokespecial jdk.tools.jlink.internal.TaskHelper$Option.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
0 2 1 hasArg Z
0 2 2 processing Ljdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;
0 2 3 name Ljava/lang/String;
0 2 4 shortname Ljava/lang/String;
Signature: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;Ljava/lang/String;Ljava/lang/String;)V
MethodParameters:
Name Flags
hasArg
processing
name
shortname
public void <init>(boolean, jdk.tools.jlink.internal.TaskHelper$Option$Processing<T>, boolean, java.lang.String);
descriptor: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aload 2
iload 3
aload 4
ldc ""
ldc ""
iconst_0
invokespecial jdk.tools.jlink.internal.TaskHelper$Option.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
0 2 1 hasArg Z
0 2 2 processing Ljdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;
0 2 3 hidden Z
0 2 4 name Ljava/lang/String;
Signature: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;ZLjava/lang/String;)V
MethodParameters:
Name Flags
hasArg
processing
hidden
name
public void <init>(boolean, jdk.tools.jlink.internal.TaskHelper$Option$Processing<T>, java.lang.String);
descriptor: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
iconst_0
aload 3
ldc ""
iconst_0
invokespecial jdk.tools.jlink.internal.TaskHelper$Option.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;Ljava/lang/String;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
0 2 1 hasArg Z
0 2 2 processing Ljdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;
0 2 3 name Ljava/lang/String;
Signature: (ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing<TT;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
hasArg
processing
name
public boolean isHidden();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$Option.hidden:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
public boolean isTerminal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$Option.terminalOption:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
public boolean matches(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield jdk.tools.jlink.internal.TaskHelper$Option.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
1: aload 1
aload 0
getfield jdk.tools.jlink.internal.TaskHelper$Option.shortname:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
2: aload 1
aload 0
getfield jdk.tools.jlink.internal.TaskHelper$Option.shortname2:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
3: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$Option.hasArg:Z
ifeq 4
aload 1
ldc "--"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
aload 1
new java.lang.StringBuilder
dup
aload 0
getfield jdk.tools.jlink.internal.TaskHelper$Option.name: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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 5
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
5: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
0 6 1 opt Ljava/lang/String;
MethodParameters:
Name Flags
opt
public boolean ignoreRest();
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/tools/jlink/internal/TaskHelper$Option<TT;>;
void process(T, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$Option.processing:Ljdk/tools/jlink/internal/TaskHelper$Option$Processing;
aload 1
aload 2
aload 3
invokeinterface jdk.tools.jlink.internal.TaskHelper$Option$Processing.process:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
0 2 1 task TT;
0 2 2 opt Ljava/lang/String;
0 2 3 arg Ljava/lang/String;
Exceptions:
throws jdk.tools.jlink.internal.TaskHelper$BadArgs
Signature: (TT;Ljava/lang/String;Ljava/lang/String;)V
MethodParameters:
Name Flags
task
opt
arg
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 jdk.tools.jlink.internal.TaskHelper$Option.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
public java.lang.String resourceName();
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
invokevirtual jdk.tools.jlink.internal.TaskHelper$Option.resourcePrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.tools.jlink.internal.TaskHelper$Option.name:Ljava/lang/String;
iconst_2
invokevirtual java.lang.String.substring:(I)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 Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
public java.lang.String getShortname();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$Option.shortname:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
public java.lang.String resourcePrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "main.opt."
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.tools.jlink.internal.TaskHelper$Option
ifne 2
1: new java.lang.RuntimeException
dup
ldc "comparing non-Option"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.tools.jlink.internal.TaskHelper$Option
astore 2
start local 2 3: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$Option.name:Ljava/lang/String;
aload 2
getfield jdk.tools.jlink.internal.TaskHelper$Option.name:Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
0 4 1 object Ljava/lang/Object;
3 4 2 option Ljdk/tools/jlink/internal/TaskHelper$Option<*>;
MethodParameters:
Name Flags
object
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/lang/Comparable<TT;>;
SourceFile: "TaskHelper.java"
NestHost: jdk.tools.jlink.internal.TaskHelper
InnerClasses:
public final BadArgs = jdk.tools.jlink.internal.TaskHelper$BadArgs of jdk.tools.jlink.internal.TaskHelper
public Option = jdk.tools.jlink.internal.TaskHelper$Option of jdk.tools.jlink.internal.TaskHelper
public abstract Processing = jdk.tools.jlink.internal.TaskHelper$Option$Processing of jdk.tools.jlink.internal.TaskHelper$Option