public final class jdk.tools.jlink.internal.TaskHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.TaskHelper
super_class: java.lang.Object
{
public static final java.lang.String JLINK_BUNDLE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jdk.tools.jlink.resources.jlink"
public static final java.lang.String JIMAGE_BUNDLE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jdk.tools.jimage.resources.jimage"
private jdk.tools.jlink.internal.TaskHelper$PluginsHelper pluginOptions;
descriptor: Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
flags: (0x0002) ACC_PRIVATE
private java.io.PrintWriter log;
descriptor: Ljava/io/PrintWriter;
flags: (0x0002) ACC_PRIVATE
private final jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper bundleHelper;
descriptor: Ljdk/tools/jlink/internal/TaskHelper$ResourceBundleHelper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: ldc "jdk.tools.jlink.resources.jlink"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
ldc "jdk.tools.jimage.resources.jimage"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc "Invalid Bundle"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: jdk.tools.jlink.internal.TaskHelper java.lang.String
StackMap stack:
aload 0
new jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper
dup
aload 1
invokespecial jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper.<init>:(Ljava/lang/String;)V
putfield jdk.tools.jlink.internal.TaskHelper.bundleHelper:Ljdk/tools/jlink/internal/TaskHelper$ResourceBundleHelper;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/TaskHelper;
0 5 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public <T> jdk.tools.jlink.internal.TaskHelper$OptionsHelper<T> newOptionsHelper(java.lang.Class<T>, jdk.tools.jlink.internal.TaskHelper$Option<?>[]);
descriptor: (Ljava/lang/Class;[Ljdk/tools/jlink/internal/TaskHelper$Option;)Ljdk/tools/jlink/internal/TaskHelper$OptionsHelper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, 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 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 6
StackMap locals: jdk.tools.jlink.internal.TaskHelper java.lang.Class jdk.tools.jlink.internal.TaskHelper$Option[] java.util.List top int int jdk.tools.jlink.internal.TaskHelper$Option[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: aload 4
astore 8
start local 8 4: aload 3
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 4 5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 6
if_icmplt 2
7: new jdk.tools.jlink.internal.TaskHelper$OptionsHelper
dup
aload 0
aload 3
invokespecial jdk.tools.jlink.internal.TaskHelper$OptionsHelper.<init>:(Ljdk/tools/jlink/internal/TaskHelper;Ljava/util/List;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/tools/jlink/internal/TaskHelper;
0 8 1 clazz Ljava/lang/Class<TT;>;
0 8 2 options [Ljdk/tools/jlink/internal/TaskHelper$Option;
1 8 3 optionsList Ljava/util/List<Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;>;
3 5 4 o Ljdk/tools/jlink/internal/TaskHelper$Option<*>;
4 5 8 opt Ljdk/tools/jlink/internal/TaskHelper$Option<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;[Ljdk/tools/jlink/internal/TaskHelper$Option<*>;)Ljdk/tools/jlink/internal/TaskHelper$OptionsHelper<TT;>;
MethodParameters:
Name Flags
clazz
options
public jdk.tools.jlink.internal.TaskHelper$BadArgs newBadArgs(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljdk/tools/jlink/internal/TaskHelper$BadArgs;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.tools.jlink.internal.TaskHelper$BadArgs
dup
aload 0
aload 1
aload 2
invokespecial jdk.tools.jlink.internal.TaskHelper$BadArgs.<init>:(Ljdk/tools/jlink/internal/TaskHelper;Ljava/lang/String;[Ljava/lang/Object;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/TaskHelper;
0 1 1 key Ljava/lang/String;
0 1 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
public java.lang.String getMessage(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper.bundleHelper:Ljdk/tools/jlink/internal/TaskHelper$ResourceBundleHelper;
aload 1
aload 2
invokevirtual jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/TaskHelper;
0 1 1 key Ljava/lang/String;
0 1 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
public void setLog(java.io.PrintWriter);
descriptor: (Ljava/io/PrintWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.tools.jlink.internal.TaskHelper.log:Ljava/io/PrintWriter;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/TaskHelper;
0 2 1 log Ljava/io/PrintWriter;
MethodParameters:
Name Flags
log
public void reportError(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper.log:Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
aload 0
getfield jdk.tools.jlink.internal.TaskHelper.bundleHelper:Ljdk/tools/jlink/internal/TaskHelper$ResourceBundleHelper;
ldc "error.prefix"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)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;
1: aload 0
getfield jdk.tools.jlink.internal.TaskHelper.bundleHelper:Ljdk/tools/jlink/internal/TaskHelper$ResourceBundleHelper;
aload 1
aload 2
invokevirtual jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jlink/internal/TaskHelper;
0 4 1 key Ljava/lang/String;
0 4 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
public void reportUnknownError(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper.log:Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
aload 0
getfield jdk.tools.jlink.internal.TaskHelper.bundleHelper:Ljdk/tools/jlink/internal/TaskHelper$ResourceBundleHelper;
ldc "error.prefix"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)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 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/TaskHelper;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public void warning(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper.log:Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
aload 0
getfield jdk.tools.jlink.internal.TaskHelper.bundleHelper:Ljdk/tools/jlink/internal/TaskHelper$ResourceBundleHelper;
ldc "warn.prefix"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)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;
1: aload 0
getfield jdk.tools.jlink.internal.TaskHelper.bundleHelper:Ljdk/tools/jlink/internal/TaskHelper$ResourceBundleHelper;
aload 1
aload 2
invokevirtual jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jlink/internal/TaskHelper;
0 4 1 key Ljava/lang/String;
0 4 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
public jdk.tools.jlink.internal.Jlink$PluginsConfiguration getPluginsConfig(java.nio.file.Path, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/nio/file/Path;Ljava/util/Map;)Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper.pluginOptions:Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
aload 1
aload 2
invokevirtual jdk.tools.jlink.internal.TaskHelper$PluginsHelper.getPluginsConfig:(Ljava/nio/file/Path;Ljava/util/Map;)Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/TaskHelper;
0 1 1 output Ljava/nio/file/Path;
0 1 2 launchers Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws java.io.IOException, jdk.tools.jlink.internal.TaskHelper$BadArgs
Signature: (Ljava/nio/file/Path;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;
MethodParameters:
Name Flags
output
launchers
public java.nio.file.Path getExistingImage();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper.pluginOptions:Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.existingImage:Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/TaskHelper;
public void showVersion(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper.log:Ljava/io/PrintWriter;
aload 0
iload 1
ifeq 1
ldc "full"
goto 2
StackMap locals: jdk.tools.jlink.internal.TaskHelper int
StackMap stack: java.io.PrintWriter jdk.tools.jlink.internal.TaskHelper
1: ldc "release"
StackMap locals: jdk.tools.jlink.internal.TaskHelper int
StackMap stack: java.io.PrintWriter jdk.tools.jlink.internal.TaskHelper java.lang.String
2: invokevirtual jdk.tools.jlink.internal.TaskHelper.version:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jlink/internal/TaskHelper;
0 4 1 full Z
MethodParameters:
Name Flags
full
public java.lang.String version(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/TaskHelper;
0 1 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
private static boolean showsPlugin(jdk.tools.jlink.plugin.Plugin);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.tools.jlink.internal.Utils.isDisabled:(Ljdk/tools/jlink/plugin/Plugin;)Z
ifne 1
aload 0
invokeinterface jdk.tools.jlink.plugin.Plugin.getOption:()Ljava/lang/String;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 plugin Ljdk/tools/jlink/plugin/Plugin;
MethodParameters:
Name Flags
plugin
}
SourceFile: "TaskHelper.java"
NestMembers:
jdk.tools.jlink.internal.TaskHelper$BadArgs jdk.tools.jlink.internal.TaskHelper$Option jdk.tools.jlink.internal.TaskHelper$Option$Processing jdk.tools.jlink.internal.TaskHelper$OptionsHelper jdk.tools.jlink.internal.TaskHelper$PluginOption jdk.tools.jlink.internal.TaskHelper$PluginsHelper jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper
InnerClasses:
public final PluginsConfiguration = jdk.tools.jlink.internal.Jlink$PluginsConfiguration of jdk.tools.jlink.internal.Jlink
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 final OptionsHelper = jdk.tools.jlink.internal.TaskHelper$OptionsHelper of jdk.tools.jlink.internal.TaskHelper
private PluginOption = jdk.tools.jlink.internal.TaskHelper$PluginOption of jdk.tools.jlink.internal.TaskHelper
private final PluginsHelper = jdk.tools.jlink.internal.TaskHelper$PluginsHelper of jdk.tools.jlink.internal.TaskHelper
private final ResourceBundleHelper = jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper of jdk.tools.jlink.internal.TaskHelper