final class jdk.tools.jlink.internal.TaskHelper$PluginsHelper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.TaskHelper$PluginsHelper
super_class: java.lang.Object
{
private static final java.lang.String STRIP_NATIVE_DEBUG_SYMBOLS_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "strip-native-debug-symbols"
private java.lang.ModuleLayer pluginsLayer;
descriptor: Ljava/lang/ModuleLayer;
flags: (0x0002) ACC_PRIVATE
private final java.util.List<jdk.tools.jlink.plugin.Plugin> plugins;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
private java.lang.String lastSorter;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean listPlugins;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.nio.file.Path existingImage;
descriptor: Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
private final java.util.Map<jdk.tools.jlink.plugin.Plugin, java.util.List<java.util.Map<java.lang.String, java.lang.String>>> pluginToMaps;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljdk/tools/jlink/plugin/Plugin;Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;>;
private final java.util.List<jdk.tools.jlink.internal.TaskHelper$PluginOption> pluginsOptions;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/tools/jlink/internal/TaskHelper$PluginOption;>;
private final java.util.List<jdk.tools.jlink.internal.TaskHelper$PluginOption> mainOptions;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/tools/jlink/internal/TaskHelper$PluginOption;>;
final jdk.tools.jlink.internal.TaskHelper this$0;
descriptor: Ljdk/tools/jlink/internal/TaskHelper;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(jdk.tools.jlink.internal.TaskHelper);
descriptor: (Ljdk/tools/jlink/internal/TaskHelper;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.this$0:Ljdk/tools/jlink/internal/TaskHelper;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.lang.ModuleLayer.boot:()Ljava/lang/ModuleLayer;
putfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.pluginsLayer:Ljava/lang/ModuleLayer;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.pluginToMaps:Ljava/util/Map;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.pluginsOptions:Ljava/util/List;
4: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.mainOptions:Ljava/util/List;
5: aload 0
aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.pluginsLayer:Ljava/lang/ModuleLayer;
invokestatic jdk.tools.jlink.internal.PluginRepository.getPlugins:(Ljava/lang/ModuleLayer;)Ljava/util/List;
putfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.plugins:Ljava/util/List;
6: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 7: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.plugins:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: jdk.tools.jlink.internal.TaskHelper$PluginsHelper jdk.tools.jlink.internal.TaskHelper java.util.Set top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jlink.plugin.Plugin
astore 3
start local 3 9: aload 3
invokestatic jdk.tools.jlink.internal.Utils.isDisabled:(Ljdk/tools/jlink/plugin/Plugin;)Z
ifne 11
10: aload 0
aload 3
aload 2
invokevirtual jdk.tools.jlink.internal.TaskHelper$PluginsHelper.addOrderedPluginOptions:(Ljdk/tools/jlink/plugin/Plugin;Ljava/util/Set;)V
end local 3 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
12: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.mainOptions:Ljava/util/List;
new jdk.tools.jlink.internal.TaskHelper$PluginOption
dup
iconst_1
aload 0
invokedynamic process(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;)Ljdk/tools/jlink/internal/TaskHelper$Option$Processing;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
jdk/tools/jlink/internal/TaskHelper$PluginsHelper.lambda$0(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V (7)
(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
13: iconst_0
ldc "--disable-plugin"
invokespecial jdk.tools.jlink.internal.TaskHelper$PluginOption.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;)V
14: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.mainOptions:Ljava/util/List;
new jdk.tools.jlink.internal.TaskHelper$PluginOption
dup
iconst_1
aload 0
invokedynamic process(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;)Ljdk/tools/jlink/internal/TaskHelper$Option$Processing;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
jdk/tools/jlink/internal/TaskHelper$PluginsHelper.lambda$1(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V (7)
(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
16: iconst_1
ldc "--post-process-path"
invokespecial jdk.tools.jlink.internal.TaskHelper$PluginOption.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;)V
17: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.mainOptions:Ljava/util/List;
new jdk.tools.jlink.internal.TaskHelper$PluginOption
dup
iconst_1
19: aload 0
invokedynamic process(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;)Ljdk/tools/jlink/internal/TaskHelper$Option$Processing;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
jdk/tools/jlink/internal/TaskHelper$PluginsHelper.lambda$2(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V (7)
(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
20: iconst_1
ldc "--resources-last-sorter"
invokespecial jdk.tools.jlink.internal.TaskHelper$PluginOption.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;)V
21: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.mainOptions:Ljava/util/List;
new jdk.tools.jlink.internal.TaskHelper$PluginOption
dup
iconst_0
23: aload 0
invokedynamic process(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;)Ljdk/tools/jlink/internal/TaskHelper$Option$Processing;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
jdk/tools/jlink/internal/TaskHelper$PluginsHelper.lambda$3(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V (7)
(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
24: iconst_0
ldc "--list-plugins"
invokespecial jdk.tools.jlink.internal.TaskHelper$PluginOption.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;)V
25: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
26: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
7 27 2 optionsSeen Ljava/util/Set<Ljava/lang/String;>;
9 11 3 plugin Ljdk/tools/jlink/plugin/Plugin;
Exceptions:
throws jdk.tools.jlink.internal.TaskHelper$BadArgs
MethodParameters:
Name Flags
this$0 final
private java.util.List<java.util.Map<java.lang.String, java.lang.String>> argListFor(jdk.tools.jlink.plugin.Plugin);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.pluginToMaps:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 1: aload 2
ifnonnull 4
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
3: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.pluginToMaps:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: java.util.List
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 5 1 plugin Ljdk/tools/jlink/plugin/Plugin;
1 5 2 mapList Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
Signature: (Ljdk/tools/jlink/plugin/Plugin;)Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
MethodParameters:
Name Flags
plugin
private void addEmptyArgumentMap(jdk.tools.jlink.plugin.Plugin);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.tools.jlink.internal.TaskHelper$PluginsHelper.argListFor:(Ljdk/tools/jlink/plugin/Plugin;)Ljava/util/List;
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 2 1 plugin Ljdk/tools/jlink/plugin/Plugin;
MethodParameters:
Name Flags
plugin
private java.util.Map<java.lang.String, java.lang.String> addArgumentMap(jdk.tools.jlink.plugin.Plugin);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 0
aload 1
invokevirtual jdk.tools.jlink.internal.TaskHelper$PluginsHelper.argListFor:(Ljdk/tools/jlink/plugin/Plugin;)Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 3 1 plugin Ljdk/tools/jlink/plugin/Plugin;
1 3 2 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljdk/tools/jlink/plugin/Plugin;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
plugin
private void addOrderedPluginOptions(jdk.tools.jlink.plugin.Plugin, java.util.Set<java.lang.String>);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;Ljava/util/Set;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface jdk.tools.jlink.plugin.Plugin.getOption:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: return
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 7
4: new jdk.tools.jlink.internal.TaskHelper$BadArgs
dup
aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.this$0:Ljdk/tools/jlink/internal/TaskHelper;
ldc "err.plugin.mutiple.options"
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: aload 3
6: aastore
invokespecial jdk.tools.jlink.internal.TaskHelper$BadArgs.<init>:(Ljdk/tools/jlink/internal/TaskHelper;Ljava/lang/String;[Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: new jdk.tools.jlink.internal.TaskHelper$PluginOption
dup
aload 1
invokeinterface jdk.tools.jlink.plugin.Plugin.hasArguments:()Z
9: aload 0
aload 1
aload 3
invokedynamic process(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljdk/tools/jlink/plugin/Plugin;Ljava/lang/String;)Ljdk/tools/jlink/internal/TaskHelper$Option$Processing;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
jdk/tools/jlink/internal/TaskHelper$PluginsHelper.lambda$4(Ljdk/tools/jlink/plugin/Plugin;Ljava/lang/String;Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V (7)
(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
10: iconst_0
new java.lang.StringBuilder
dup
ldc "--"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial jdk.tools.jlink.internal.TaskHelper$PluginOption.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;)V
12: astore 4
start local 4 13: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.pluginsOptions:Ljava/util/List;
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: aload 1
invokestatic jdk.tools.jlink.internal.Utils.isFunctional:(Ljdk/tools/jlink/plugin/Plugin;)Z
ifeq 42
15: aload 1
invokestatic jdk.tools.jlink.internal.Utils.isAutoEnabled:(Ljdk/tools/jlink/plugin/Plugin;)Z
ifeq 17
16: aload 0
aload 1
invokevirtual jdk.tools.jlink.internal.TaskHelper$PluginsHelper.addEmptyArgumentMap:(Ljdk/tools/jlink/plugin/Plugin;)V
17: StackMap locals: jdk.tools.jlink.internal.TaskHelper$PluginOption
StackMap stack:
aload 1
instanceof jdk.tools.jlink.internal.plugins.DefaultCompressPlugin
ifeq 25
18: new jdk.tools.jlink.internal.TaskHelper$PluginOption
dup
iconst_0
19: aload 0
aload 1
invokedynamic process(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljdk/tools/jlink/plugin/Plugin;)Ljdk/tools/jlink/internal/TaskHelper$Option$Processing;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
jdk/tools/jlink/internal/TaskHelper$PluginsHelper.lambda$5(Ljdk/tools/jlink/plugin/Plugin;Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V (7)
(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
20: iconst_0
ldc "--compress"
ldc "-c"
21: invokespecial jdk.tools.jlink.internal.TaskHelper$PluginOption.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;Ljava/lang/String;)V
22: astore 4
23: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.mainOptions:Ljava/util/List;
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
24: goto 42
StackMap locals:
StackMap stack:
25: aload 1
instanceof jdk.tools.jlink.internal.plugins.DefaultStripDebugPlugin
ifeq 33
26: new jdk.tools.jlink.internal.TaskHelper$PluginOption
dup
iconst_0
27: aload 0
aload 1
invokedynamic process(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljdk/tools/jlink/plugin/Plugin;)Ljdk/tools/jlink/internal/TaskHelper$Option$Processing;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
jdk/tools/jlink/internal/TaskHelper$PluginsHelper.lambda$6(Ljdk/tools/jlink/plugin/Plugin;Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V (7)
(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
28: iconst_0
ldc "--strip-debug"
ldc "-G"
29: invokespecial jdk.tools.jlink.internal.TaskHelper$PluginOption.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;Ljava/lang/String;)V
30: astore 4
31: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.mainOptions:Ljava/util/List;
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
32: goto 42
StackMap locals:
StackMap stack:
33: aload 1
instanceof jdk.tools.jlink.internal.plugins.ExcludeJmodSectionPlugin
ifeq 42
34: new jdk.tools.jlink.internal.TaskHelper$PluginOption
dup
iconst_0
aload 0
aload 1
invokedynamic process(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljdk/tools/jlink/plugin/Plugin;)Ljdk/tools/jlink/internal/TaskHelper$Option$Processing;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
jdk/tools/jlink/internal/TaskHelper$PluginsHelper.lambda$7(Ljdk/tools/jlink/plugin/Plugin;Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V (7)
(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
35: iconst_0
ldc "--no-man-pages"
36: invokespecial jdk.tools.jlink.internal.TaskHelper$PluginOption.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;)V
astore 4
37: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.mainOptions:Ljava/util/List;
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
38: new jdk.tools.jlink.internal.TaskHelper$PluginOption
dup
iconst_0
aload 0
aload 1
invokedynamic process(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljdk/tools/jlink/plugin/Plugin;)Ljdk/tools/jlink/internal/TaskHelper$Option$Processing;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
jdk/tools/jlink/internal/TaskHelper$PluginsHelper.lambda$8(Ljdk/tools/jlink/plugin/Plugin;Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V (7)
(Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
39: iconst_0
ldc "--no-header-files"
40: invokespecial jdk.tools.jlink.internal.TaskHelper$PluginOption.<init>:(ZLjdk/tools/jlink/internal/TaskHelper$Option$Processing;ZLjava/lang/String;)V
astore 4
41: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.mainOptions:Ljava/util/List;
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
42: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 43 1 plugin Ljdk/tools/jlink/plugin/Plugin;
0 43 2 optionsSeen Ljava/util/Set<Ljava/lang/String;>;
1 43 3 option Ljava/lang/String;
13 43 4 plugOption Ljdk/tools/jlink/internal/TaskHelper$PluginOption;
Exceptions:
throws jdk.tools.jlink.internal.TaskHelper$BadArgs
Signature: (Ljdk/tools/jlink/plugin/Plugin;Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
plugin
optionsSeen
private jdk.tools.jlink.internal.TaskHelper$PluginOption getOption(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/tools/jlink/internal/TaskHelper$PluginOption;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.pluginsOptions:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: jdk.tools.jlink.internal.TaskHelper$PluginsHelper java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jlink.internal.TaskHelper$PluginOption
astore 2
start local 2 2: aload 2
aload 1
invokevirtual jdk.tools.jlink.internal.TaskHelper$PluginOption.matches:(Ljava/lang/String;)Z
ifeq 4
3: aload 2
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.mainOptions:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals:
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jlink.internal.TaskHelper$PluginOption
astore 2
start local 2 7: aload 2
aload 1
invokevirtual jdk.tools.jlink.internal.TaskHelper$PluginOption.matches:(Ljava/lang/String;)Z
ifeq 9
8: aload 2
areturn
end local 2 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
10: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 11 1 name Ljava/lang/String;
2 4 2 o Ljdk/tools/jlink/internal/TaskHelper$PluginOption;
7 9 2 o Ljdk/tools/jlink/internal/TaskHelper$PluginOption;
Exceptions:
throws jdk.tools.jlink.internal.TaskHelper$BadArgs
MethodParameters:
Name Flags
name
private 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: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 5
1: aload 1
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 5
2: new jdk.tools.jlink.plugin.PluginException
dup
3: ldc "err.dir.already.exits"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
4: invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 6: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 4
start local 4 7: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.pluginToMaps:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 30
StackMap locals: jdk.tools.jlink.internal.TaskHelper$PluginsHelper java.nio.file.Path java.util.Map java.util.List java.util.Set top java.util.Iterator
StackMap stack:
8: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 9: aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast jdk.tools.jlink.plugin.Plugin
astore 7
start local 7 10: aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 8
start local 8 11: aload 8
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 20
StackMap locals: jdk.tools.jlink.internal.TaskHelper$PluginsHelper java.nio.file.Path java.util.Map java.util.List java.util.Set java.util.Map$Entry java.util.Iterator jdk.tools.jlink.plugin.Plugin java.util.List top java.util.Iterator
StackMap stack:
12: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map
astore 9
start local 9 13: aload 7
aload 9
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
invokeinterface jdk.tools.jlink.plugin.Plugin.configure:(Ljava/util/Map;)V
14: goto 20
StackMap locals: jdk.tools.jlink.internal.TaskHelper$PluginsHelper java.nio.file.Path java.util.Map java.util.List java.util.Set java.util.Map$Entry java.util.Iterator jdk.tools.jlink.plugin.Plugin java.util.List java.util.Map java.util.Iterator
StackMap stack: java.lang.IllegalArgumentException
15: astore 11
start local 11 16: getstatic jdk.tools.jlink.internal.JlinkTask.DEBUG:Z
ifeq 19
17: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Plugin "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " threw exception with config: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
18: aload 11
invokevirtual java.lang.IllegalArgumentException.printStackTrace:()V
19: StackMap locals: java.lang.IllegalArgumentException
StackMap stack:
aload 11
athrow
end local 11 end local 9 20: StackMap locals: jdk.tools.jlink.internal.TaskHelper$PluginsHelper java.nio.file.Path java.util.Map java.util.List java.util.Set java.util.Map$Entry java.util.Iterator jdk.tools.jlink.plugin.Plugin java.util.List top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
21: aload 7
invokestatic jdk.tools.jlink.internal.Utils.isDisabled:(Ljdk/tools/jlink/plugin/Plugin;)Z
ifne 30
22: aload 7
instanceof jdk.tools.jlink.internal.plugins.DefaultStripDebugPlugin
ifeq 23
aload 4
ldc "strip-native-debug-symbols"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 24
23: StackMap locals: jdk.tools.jlink.internal.TaskHelper$PluginsHelper java.nio.file.Path java.util.Map java.util.List java.util.Set java.util.Map$Entry java.util.Iterator jdk.tools.jlink.plugin.Plugin java.util.List
StackMap stack:
ldc "strip-native-debug-symbols"
aload 7
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
aload 4
aload 7
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 28
24: StackMap locals:
StackMap stack:
new jdk.tools.jlink.internal.TaskHelper$BadArgs
dup
aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.this$0:Ljdk/tools/jlink/internal/TaskHelper;
ldc "err.plugin.conflicts"
iconst_3
anewarray java.lang.Object
dup
iconst_0
new java.lang.StringBuilder
dup
ldc "--"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
25: ldc "-G"
aastore
dup
iconst_2
26: ldc "--strip-native-debug-symbols"
27: aastore
invokespecial jdk.tools.jlink.internal.TaskHelper$BadArgs.<init>:(Ljdk/tools/jlink/internal/TaskHelper;Ljava/lang/String;[Ljava/lang/Object;)V
athrow
28: StackMap locals:
StackMap stack:
aload 3
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
29: aload 4
aload 7
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 end local 5 30: StackMap locals: jdk.tools.jlink.internal.TaskHelper$PluginsHelper java.nio.file.Path java.util.Map java.util.List java.util.Set top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
31: aconst_null
astore 5
start local 5 32: aload 1
ifnull 34
33: new jdk.tools.jlink.builder.DefaultImageBuilder
dup
aload 1
aload 2
invokespecial jdk.tools.jlink.builder.DefaultImageBuilder.<init>:(Ljava/nio/file/Path;Ljava/util/Map;)V
astore 5
34: StackMap locals: jdk.tools.jlink.internal.TaskHelper$PluginsHelper java.nio.file.Path java.util.Map java.util.List java.util.Set jdk.tools.jlink.builder.ImageBuilder
StackMap stack:
new jdk.tools.jlink.internal.Jlink$PluginsConfiguration
dup
aload 3
35: aload 5
aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.lastSorter:Ljava/lang/String;
36: invokespecial jdk.tools.jlink.internal.Jlink$PluginsConfiguration.<init>:(Ljava/util/List;Ljdk/tools/jlink/builder/ImageBuilder;Ljava/lang/String;)V
areturn
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 37 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 37 1 output Ljava/nio/file/Path;
0 37 2 launchers Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
6 37 3 pluginsList Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
7 37 4 seenPlugins Ljava/util/Set<Ljava/lang/String;>;
9 30 5 entry Ljava/util/Map$Entry<Ljdk/tools/jlink/plugin/Plugin;Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;>;
10 30 7 plugin Ljdk/tools/jlink/plugin/Plugin;
11 30 8 argsMaps Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
13 20 9 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
16 20 11 e Ljava/lang/IllegalArgumentException;
32 37 5 builder Ljdk/tools/jlink/builder/ImageBuilder;
Exception table:
from to target type
13 14 15 Class java.lang.IllegalArgumentException
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
private void lambda$0(jdk.tools.jlink.internal.TaskHelper$PluginsHelper, java.lang.String, java.lang.String);
descriptor: (Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.plugins:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: jdk.tools.jlink.internal.TaskHelper$PluginsHelper jdk.tools.jlink.internal.TaskHelper$PluginsHelper java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
1: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jlink.plugin.Plugin
astore 4
start local 4 2: aload 4
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.pluginToMaps:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: return
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.this$0:Ljdk/tools/jlink/internal/TaskHelper;
ldc "err.no.such.plugin"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual jdk.tools.jlink.internal.TaskHelper.newBadArgs:(Ljava/lang/String;[Ljava/lang/Object;)Ljdk/tools/jlink/internal/TaskHelper$BadArgs;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 7 1 task Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 7 2 opt Ljava/lang/String;
0 7 3 arg Ljava/lang/String;
2 5 4 plugin Ljdk/tools/jlink/plugin/Plugin;
Exceptions:
throws jdk.tools.jlink.internal.TaskHelper$BadArgs
private void lambda$1(jdk.tools.jlink.internal.TaskHelper$PluginsHelper, java.lang.String, java.lang.String);
descriptor: (Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 4
start local 4 1: aload 4
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 2
aload 4
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 3
2: StackMap locals: java.nio.file.Path
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.this$0:Ljdk/tools/jlink/internal/TaskHelper;
ldc "err.image.must.exist"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual jdk.tools.jlink.internal.TaskHelper.newBadArgs:(Ljava/lang/String;[Ljava/lang/Object;)Ljdk/tools/jlink/internal/TaskHelper$BadArgs;
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 4
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
putfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.existingImage:Ljava/nio/file/Path;
end local 4 4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 5 1 task Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 5 2 opt Ljava/lang/String;
0 5 3 arg Ljava/lang/String;
1 4 4 path Ljava/nio/file/Path;
Exceptions:
throws jdk.tools.jlink.internal.TaskHelper$BadArgs
private void lambda$2(jdk.tools.jlink.internal.TaskHelper$PluginsHelper, java.lang.String, java.lang.String);
descriptor: (Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
putfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.lastSorter:Ljava/lang/String;
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$PluginsHelper;
0 2 1 task Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 2 2 opt Ljava/lang/String;
0 2 3 arg Ljava/lang/String;
Exceptions:
throws jdk.tools.jlink.internal.TaskHelper$BadArgs
private void lambda$3(jdk.tools.jlink.internal.TaskHelper$PluginsHelper, java.lang.String, java.lang.String);
descriptor: (Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_1
putfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.listPlugins:Z
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$PluginsHelper;
0 2 1 task Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 2 2 opt Ljava/lang/String;
0 2 3 arg Ljava/lang/String;
Exceptions:
throws jdk.tools.jlink.internal.TaskHelper$BadArgs
private void lambda$4(jdk.tools.jlink.plugin.Plugin, java.lang.String, jdk.tools.jlink.internal.TaskHelper$PluginsHelper, java.lang.String, java.lang.String);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;Ljava/lang/String;Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=14, args_size=6
start local 0 start local 3 start local 4 start local 5 0: aload 1
invokestatic jdk.tools.jlink.internal.Utils.isFunctional:(Ljdk/tools/jlink/plugin/Plugin;)Z
ifne 4
1: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.this$0:Ljdk/tools/jlink/internal/TaskHelper;
ldc "err.provider.not.functional"
iconst_1
anewarray java.lang.Object
dup
iconst_0
2: aload 2
aastore
3: invokevirtual jdk.tools.jlink.internal.TaskHelper.newBadArgs:(Ljava/lang/String;[Ljava/lang/Object;)Ljdk/tools/jlink/internal/TaskHelper$BadArgs;
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface jdk.tools.jlink.plugin.Plugin.hasArguments:()Z
ifne 7
5: aload 0
aload 1
invokevirtual jdk.tools.jlink.internal.TaskHelper$PluginsHelper.addEmptyArgumentMap:(Ljdk/tools/jlink/plugin/Plugin;)V
6: return
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.tools.jlink.internal.TaskHelper$PluginsHelper.addArgumentMap:(Ljdk/tools/jlink/plugin/Plugin;)Ljava/util/Map;
astore 6
start local 6 8: aload 1
invokeinterface jdk.tools.jlink.plugin.Plugin.hasRawArgument:()Z
ifne 9
aload 5
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 11
9: StackMap locals: java.util.Map
StackMap stack:
aload 6
aload 2
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: goto 35
11: StackMap locals:
StackMap stack:
aload 5
ldc ":(?=\\w)"
iconst_m1
invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
astore 7
start local 7 12: aload 7
iconst_0
aaload
astore 8
start local 8 13: aload 8
invokevirtual java.lang.String.isEmpty:()Z
ifeq 17
14: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.this$0:Ljdk/tools/jlink/internal/TaskHelper;
ldc "err.provider.additional.arg.error"
iconst_2
anewarray java.lang.Object
dup
iconst_0
15: aload 2
aastore
dup
iconst_1
aload 5
aastore
16: invokevirtual jdk.tools.jlink.internal.TaskHelper.newBadArgs:(Ljava/lang/String;[Ljava/lang/Object;)Ljdk/tools/jlink/internal/TaskHelper$BadArgs;
athrow
17: StackMap locals: java.lang.String[] java.lang.String
StackMap stack:
aload 6
aload 2
aload 8
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: iconst_1
istore 9
start local 9 19: goto 34
20: StackMap locals: int
StackMap stack:
aload 7
iload 9
aaload
astore 10
start local 10 21: aload 10
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
istore 11
start local 11 22: iload 11
iconst_m1
if_icmpne 26
23: aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.this$0:Ljdk/tools/jlink/internal/TaskHelper;
ldc "err.provider.additional.arg.error"
iconst_2
anewarray java.lang.Object
dup
iconst_0
24: aload 2
aastore
dup
iconst_1
aload 5
aastore
25: invokevirtual jdk.tools.jlink.internal.TaskHelper.newBadArgs:(Ljava/lang/String;[Ljava/lang/Object;)Ljdk/tools/jlink/internal/TaskHelper$BadArgs;
athrow
26: StackMap locals: java.lang.String int
StackMap stack:
aload 10
iconst_0
iload 11
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 12
start local 12 27: aload 10
iload 11
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 13
start local 13 28: aload 12
invokevirtual java.lang.String.isEmpty:()Z
ifne 29
aload 13
invokevirtual java.lang.String.isEmpty:()Z
ifeq 32
29: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.TaskHelper$PluginsHelper.this$0:Ljdk/tools/jlink/internal/TaskHelper;
ldc "err.provider.additional.arg.error"
iconst_2
anewarray java.lang.Object
dup
iconst_0
30: aload 2
aastore
dup
iconst_1
aload 5
aastore
31: invokevirtual jdk.tools.jlink.internal.TaskHelper.newBadArgs:(Ljava/lang/String;[Ljava/lang/Object;)Ljdk/tools/jlink/internal/TaskHelper$BadArgs;
athrow
32: StackMap locals:
StackMap stack:
aload 6
aload 12
aload 13
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 end local 12 end local 11 end local 10 33: iinc 9 1
StackMap locals: jdk.tools.jlink.internal.TaskHelper$PluginsHelper jdk.tools.jlink.plugin.Plugin java.lang.String jdk.tools.jlink.internal.TaskHelper$PluginsHelper java.lang.String java.lang.String java.util.Map java.lang.String[] java.lang.String int
StackMap stack:
34: iload 9
aload 7
arraylength
if_icmplt 20
end local 9 end local 8 end local 7 end local 6 35: StackMap locals: jdk.tools.jlink.internal.TaskHelper$PluginsHelper jdk.tools.jlink.plugin.Plugin java.lang.String jdk.tools.jlink.internal.TaskHelper$PluginsHelper java.lang.String java.lang.String
StackMap stack:
return
end local 5 end local 4 end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 36 3 task Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 36 4 opt Ljava/lang/String;
0 36 5 arg Ljava/lang/String;
8 35 6 m Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
12 35 7 args [Ljava/lang/String;
13 35 8 firstArg Ljava/lang/String;
19 35 9 i I
21 33 10 addArg Ljava/lang/String;
22 33 11 eqIdx I
27 33 12 addArgName Ljava/lang/String;
28 33 13 addArgValue Ljava/lang/String;
Exceptions:
throws jdk.tools.jlink.internal.TaskHelper$BadArgs
private void lambda$5(jdk.tools.jlink.plugin.Plugin, jdk.tools.jlink.internal.TaskHelper$PluginsHelper, java.lang.String, java.lang.String);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual jdk.tools.jlink.internal.TaskHelper$PluginsHelper.addArgumentMap:(Ljdk/tools/jlink/plugin/Plugin;)Ljava/util/Map;
astore 5
start local 5 1: aload 5
aload 1
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
ldc "2"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 2: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 3 2 task Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 3 3 opt Ljava/lang/String;
0 3 4 arg Ljava/lang/String;
1 2 5 m Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws jdk.tools.jlink.internal.TaskHelper$BadArgs
private void lambda$6(jdk.tools.jlink.plugin.Plugin, jdk.tools.jlink.internal.TaskHelper$PluginsHelper, java.lang.String, java.lang.String);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual jdk.tools.jlink.internal.TaskHelper$PluginsHelper.addArgumentMap:(Ljdk/tools/jlink/plugin/Plugin;)Ljava/util/Map;
pop
1: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 2 2 task Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 2 3 opt Ljava/lang/String;
0 2 4 arg Ljava/lang/String;
Exceptions:
throws jdk.tools.jlink.internal.TaskHelper$BadArgs
private void lambda$7(jdk.tools.jlink.plugin.Plugin, jdk.tools.jlink.internal.TaskHelper$PluginsHelper, java.lang.String, java.lang.String);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual jdk.tools.jlink.internal.TaskHelper$PluginsHelper.addArgumentMap:(Ljdk/tools/jlink/plugin/Plugin;)Ljava/util/Map;
astore 5
start local 5 1: aload 5
aload 1
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
2: ldc "man"
3: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 4: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 5 2 task Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 5 3 opt Ljava/lang/String;
0 5 4 arg Ljava/lang/String;
1 4 5 m Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws jdk.tools.jlink.internal.TaskHelper$BadArgs
private void lambda$8(jdk.tools.jlink.plugin.Plugin, jdk.tools.jlink.internal.TaskHelper$PluginsHelper, java.lang.String, java.lang.String);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual jdk.tools.jlink.internal.TaskHelper$PluginsHelper.addArgumentMap:(Ljdk/tools/jlink/plugin/Plugin;)Ljava/util/Map;
astore 5
start local 5 1: aload 5
aload 1
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
2: ldc "headers"
3: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 4: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 5 2 task Ljdk/tools/jlink/internal/TaskHelper$PluginsHelper;
0 5 3 opt Ljava/lang/String;
0 5 4 arg Ljava/lang/String;
1 4 5 m Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws jdk.tools.jlink.internal.TaskHelper$BadArgs
}
SourceFile: "TaskHelper.java"
NestHost: jdk.tools.jlink.internal.TaskHelper
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
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 abstract Processing = jdk.tools.jlink.internal.TaskHelper$Option$Processing of jdk.tools.jlink.internal.TaskHelper$Option
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