public final class jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder
super_class: java.lang.Object
{
private java.nio.file.Path outputDir;
descriptor: Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.lang.String> launchers;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private java.util.List<java.nio.file.Path> modulePath;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
private java.util.Set<java.lang.String> addModules;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/String;>;
private java.util.Set<java.lang.String> limitModules;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/String;>;
private java.lang.String excludeFileList;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.lang.String> userArguments;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private java.lang.Boolean stripNativeCommands;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.outputDir:Ljava/nio/file/Path;
2: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.launchers:Ljava/util/Map;
3: aload 0
aconst_null
putfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.modulePath:Ljava/util/List;
4: aload 0
aconst_null
putfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.addModules:Ljava/util/Set;
5: aload 0
aconst_null
putfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.limitModules:Ljava/util/Set;
6: aload 0
aconst_null
putfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.excludeFileList:Ljava/lang/String;
7: aload 0
aconst_null
putfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.userArguments:Ljava/util/Map;
8: aload 0
aconst_null
putfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.stripNativeCommands:Ljava/lang/Boolean;
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/tools/jlink/internal/packager/AppRuntimeImageBuilder;
public void setOutputDir(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)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.packager.AppRuntimeImageBuilder.outputDir:Ljava/nio/file/Path;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/packager/AppRuntimeImageBuilder;
0 2 1 value Ljava/nio/file/Path;
MethodParameters:
Name Flags
value
public void setLaunchers(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)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.packager.AppRuntimeImageBuilder.launchers:Ljava/util/Map;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/packager/AppRuntimeImageBuilder;
0 2 1 value Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
value
public void setModulePath(java.util.List<java.nio.file.Path>);
descriptor: (Ljava/util/List;)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.packager.AppRuntimeImageBuilder.modulePath:Ljava/util/List;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/packager/AppRuntimeImageBuilder;
0 2 1 value Ljava/util/List<Ljava/nio/file/Path;>;
Signature: (Ljava/util/List<Ljava/nio/file/Path;>;)V
MethodParameters:
Name Flags
value
public void setAddModules(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)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.packager.AppRuntimeImageBuilder.addModules:Ljava/util/Set;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/packager/AppRuntimeImageBuilder;
0 2 1 value Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
value
public void setLimitModules(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)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.packager.AppRuntimeImageBuilder.limitModules:Ljava/util/Set;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/packager/AppRuntimeImageBuilder;
0 2 1 value Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
value
public void setExcludeFileList(java.lang.String);
descriptor: (Ljava/lang/String;)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.packager.AppRuntimeImageBuilder.excludeFileList:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/packager/AppRuntimeImageBuilder;
0 2 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public void setStripNativeCommands(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.stripNativeCommands:Ljava/lang/Boolean;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/packager/AppRuntimeImageBuilder;
0 2 1 value Z
MethodParameters:
Name Flags
value
public void setUserArguments(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)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.packager.AppRuntimeImageBuilder.userArguments:Ljava/util/Map;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/packager/AppRuntimeImageBuilder;
0 2 1 value Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
value
public void build();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=1
start local 0 0: new jdk.tools.jlink.internal.Jlink$JlinkConfiguration
dup
new java.io.File
dup
ldc ""
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
1: aload 0
getfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.modulePath:Ljava/util/List;
2: aload 0
getfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.addModules:Ljava/util/Set;
3: aload 0
getfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.limitModules:Ljava/util/Set;
4: invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
5: invokespecial jdk.tools.jlink.internal.Jlink$JlinkConfiguration.<init>:(Ljava/nio/file/Path;Ljava/util/List;Ljava/util/Set;Ljava/util/Set;Ljava/nio/ByteOrder;)V
6: astore 1
start local 1 7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 8: aload 0
getfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.stripNativeCommands:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 14
9: aload 2
10: ldc "strip-native-commands"
11: ldc "strip-native-commands"
ldc "on"
invokestatic java.util.Collections.singletonMap:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
12: aconst_null
13: invokestatic jdk.tools.jlink.internal.Jlink.newPlugin:(Ljava/lang/String;Ljava/util/Map;Ljava/lang/ModuleLayer;)Ljdk/tools/jlink/plugin/Plugin;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: StackMap locals: jdk.tools.jlink.internal.Jlink$JlinkConfiguration java.util.List
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.excludeFileList:Ljava/lang/String;
ifnull 20
aload 0
getfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.excludeFileList:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 20
15: aload 2
16: ldc "exclude-files"
17: ldc "exclude-files"
aload 0
getfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.excludeFileList:Ljava/lang/String;
invokestatic java.util.Collections.singletonMap:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
18: aconst_null
19: invokestatic jdk.tools.jlink.internal.Jlink.newPlugin:(Ljava/lang/String;Ljava/util/Map;Ljava/lang/ModuleLayer;)Ljdk/tools/jlink/plugin/Plugin;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
20: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.userArguments:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 28
StackMap locals: jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder jdk.tools.jlink.internal.Jlink$JlinkConfiguration java.util.List top java.util.Iterator
StackMap stack:
21: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 22: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 23: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 24: aload 2
aload 5
25: aload 5
aload 6
invokestatic java.util.Collections.singletonMap:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
26: aconst_null
27: invokestatic jdk.tools.jlink.internal.Jlink.newPlugin:(Ljava/lang/String;Ljava/util/Map;Ljava/lang/ModuleLayer;)Ljdk/tools/jlink/plugin/Plugin;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 end local 3 28: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
29: new jdk.tools.jlink.internal.Jlink$PluginsConfiguration
dup
30: aload 2
new jdk.tools.jlink.builder.DefaultImageBuilder
dup
aload 0
getfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.outputDir:Ljava/nio/file/Path;
aload 0
getfield jdk.tools.jlink.internal.packager.AppRuntimeImageBuilder.launchers:Ljava/util/Map;
invokespecial jdk.tools.jlink.builder.DefaultImageBuilder.<init>:(Ljava/nio/file/Path;Ljava/util/Map;)V
aconst_null
31: invokespecial jdk.tools.jlink.internal.Jlink$PluginsConfiguration.<init>:(Ljava/util/List;Ljdk/tools/jlink/builder/ImageBuilder;Ljava/lang/String;)V
astore 3
start local 3 32: new jdk.tools.jlink.internal.Jlink
dup
invokespecial jdk.tools.jlink.internal.Jlink.<init>:()V
astore 4
start local 4 33: aload 4
aload 1
aload 3
invokevirtual jdk.tools.jlink.internal.Jlink.build:(Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;)V
34: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Ljdk/tools/jlink/internal/packager/AppRuntimeImageBuilder;
7 35 1 jlinkConfig Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
8 35 2 plugins Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
22 28 3 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
23 28 5 key Ljava/lang/String;
24 28 6 value Ljava/lang/String;
32 35 3 pluginConfig Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;
33 35 4 jlink Ljdk/tools/jlink/internal/Jlink;
Exceptions:
throws java.io.IOException
public static java.lang.module.ModuleFinder moduleFinder(java.util.List<java.nio.file.Path>, java.util.Set<java.lang.String>, java.util.Set<java.lang.String>);
descriptor: (Ljava/util/List;Ljava/util/Set;Ljava/util/Set;)Ljava/lang/module/ModuleFinder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic jdk.tools.jlink.internal.JlinkTask.newModuleFinder:(Ljava/util/List;Ljava/util/Set;Ljava/util/Set;)Ljava/lang/module/ModuleFinder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 modulepaths Ljava/util/List<Ljava/nio/file/Path;>;
0 1 1 roots Ljava/util/Set<Ljava/lang/String;>;
0 1 2 otherModules Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/nio/file/Path;>;Ljava/util/Set<Ljava/lang/String;>;Ljava/util/Set<Ljava/lang/String;>;)Ljava/lang/module/ModuleFinder;
MethodParameters:
Name Flags
modulepaths
roots
otherModules
}
SourceFile: "AppRuntimeImageBuilder.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public final JlinkConfiguration = jdk.tools.jlink.internal.Jlink$JlinkConfiguration of jdk.tools.jlink.internal.Jlink
public final PluginsConfiguration = jdk.tools.jlink.internal.Jlink$PluginsConfiguration of jdk.tools.jlink.internal.Jlink