public final class jdk.tools.jlink.internal.ImagePluginConfiguration
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.ImagePluginConfiguration
super_class: java.lang.Object
{
private static final java.util.List<jdk.tools.jlink.plugin.Plugin$Category> CATEGORIES_ORDER;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin$Category;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic jdk.tools.jlink.internal.ImagePluginConfiguration.CATEGORIES_ORDER:Ljava/util/List;
1: getstatic jdk.tools.jlink.internal.ImagePluginConfiguration.CATEGORIES_ORDER:Ljava/util/List;
getstatic jdk.tools.jlink.plugin.Plugin$Category.FILTER:Ljdk/tools/jlink/plugin/Plugin$Category;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: getstatic jdk.tools.jlink.internal.ImagePluginConfiguration.CATEGORIES_ORDER:Ljava/util/List;
getstatic jdk.tools.jlink.plugin.Plugin$Category.TRANSFORMER:Ljdk/tools/jlink/plugin/Plugin$Category;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: getstatic jdk.tools.jlink.internal.ImagePluginConfiguration.CATEGORIES_ORDER:Ljava/util/List;
getstatic jdk.tools.jlink.plugin.Plugin$Category.MODULEINFO_TRANSFORMER:Ljdk/tools/jlink/plugin/Plugin$Category;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: getstatic jdk.tools.jlink.internal.ImagePluginConfiguration.CATEGORIES_ORDER:Ljava/util/List;
getstatic jdk.tools.jlink.plugin.Plugin$Category.SORTER:Ljdk/tools/jlink/plugin/Plugin$Category;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: getstatic jdk.tools.jlink.internal.ImagePluginConfiguration.CATEGORIES_ORDER:Ljava/util/List;
getstatic jdk.tools.jlink.plugin.Plugin$Category.METAINFO_ADDER:Ljdk/tools/jlink/plugin/Plugin$Category;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: getstatic jdk.tools.jlink.internal.ImagePluginConfiguration.CATEGORIES_ORDER:Ljava/util/List;
getstatic jdk.tools.jlink.plugin.Plugin$Category.COMPRESSOR:Ljdk/tools/jlink/plugin/Plugin$Category;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: getstatic jdk.tools.jlink.internal.ImagePluginConfiguration.CATEGORIES_ORDER:Ljava/util/List;
getstatic jdk.tools.jlink.plugin.Plugin$Category.VERIFIER:Ljdk/tools/jlink/plugin/Plugin$Category;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: getstatic jdk.tools.jlink.internal.ImagePluginConfiguration.CATEGORIES_ORDER:Ljava/util/List;
getstatic jdk.tools.jlink.plugin.Plugin$Category.PROCESSOR:Ljdk/tools/jlink/plugin/Plugin$Category;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: getstatic jdk.tools.jlink.internal.ImagePluginConfiguration.CATEGORIES_ORDER:Ljava/util/List;
getstatic jdk.tools.jlink.plugin.Plugin$Category.PACKAGER:Ljdk/tools/jlink/plugin/Plugin$Category;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/ImagePluginConfiguration;
public static jdk.tools.jlink.internal.ImagePluginStack parseConfiguration(jdk.tools.jlink.internal.Jlink$PluginsConfiguration);
descriptor: (Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;)Ljdk/tools/jlink/internal/ImagePluginStack;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new jdk.tools.jlink.internal.ImagePluginStack
dup
invokespecial jdk.tools.jlink.internal.ImagePluginStack.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 1
start local 1 3: getstatic jdk.tools.jlink.internal.ImagePluginConfiguration.CATEGORIES_ORDER:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: jdk.tools.jlink.internal.Jlink$PluginsConfiguration java.util.Map top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jlink.plugin.Plugin$Category
astore 2
start local 2 5: aload 1
aload 2
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 8: aload 0
invokevirtual jdk.tools.jlink.internal.Jlink$PluginsConfiguration.getPlugins:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 22
StackMap locals: jdk.tools.jlink.internal.Jlink$PluginsConfiguration java.util.Map java.util.List top java.util.Iterator
StackMap stack:
9: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jlink.plugin.Plugin
astore 3
start local 3 10: aload 2
aload 3
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 14
11: new java.lang.Exception
dup
new java.lang.StringBuilder
dup
ldc "Plugin "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc " added more than once to stack "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: jdk.tools.jlink.internal.Jlink$PluginsConfiguration java.util.Map java.util.List jdk.tools.jlink.plugin.Plugin java.util.Iterator
StackMap stack:
aload 2
aload 3
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: aload 3
invokeinterface jdk.tools.jlink.plugin.Plugin.getType:()Ljdk/tools/jlink/plugin/Plugin$Category;
astore 5
start local 5 16: aload 5
ifnonnull 20
17: new jdk.tools.jlink.plugin.PluginException
dup
new java.lang.StringBuilder
dup
ldc "Invalid category for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: aload 3
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;
19: invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals: jdk.tools.jlink.plugin.Plugin$Category
StackMap stack:
aload 1
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 6
start local 6 21: aload 6
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 end local 3 22: StackMap locals: jdk.tools.jlink.internal.Jlink$PluginsConfiguration java.util.Map java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
23: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 24: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
aload 3
invokedynamic accept(Ljava/util/List;)Ljava/util/function/Consumer;
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;)V
jdk/tools/jlink/internal/ImagePluginConfiguration.lambda$0(Ljava/util/List;Ljava/util/Map$Entry;)V (6)
(Ljava/util/Map$Entry;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
25: aconst_null
astore 4
start local 4 26: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 31
StackMap locals: jdk.tools.jlink.internal.Jlink$PluginsConfiguration java.util.Map java.util.List java.util.List jdk.tools.jlink.plugin.Plugin top java.util.Iterator
StackMap stack:
27: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jlink.plugin.Plugin
astore 5
start local 5 28: aload 5
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
aload 0
invokevirtual jdk.tools.jlink.internal.Jlink$PluginsConfiguration.getLastSorterPluginName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 31
29: aload 5
astore 4
30: goto 32
end local 5 31: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
32: StackMap locals: jdk.tools.jlink.internal.Jlink$PluginsConfiguration java.util.Map java.util.List java.util.List jdk.tools.jlink.plugin.Plugin
StackMap stack:
aload 0
invokevirtual jdk.tools.jlink.internal.Jlink$PluginsConfiguration.getLastSorterPluginName:()Ljava/lang/String;
ifnull 36
aload 4
ifnonnull 36
33: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unknown last plugin "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
34: aload 0
invokevirtual jdk.tools.jlink.internal.Jlink$PluginsConfiguration.getLastSorterPluginName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
35: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
36: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.tools.jlink.internal.Jlink$PluginsConfiguration.getImageBuilder:()Ljdk/tools/jlink/builder/ImageBuilder;
astore 5
start local 5 37: aload 5
ifnonnull 39
38: new jdk.tools.jlink.internal.ImagePluginConfiguration$1
dup
invokespecial jdk.tools.jlink.internal.ImagePluginConfiguration$1.<init>:()V
astore 5
39: StackMap locals: jdk.tools.jlink.builder.ImageBuilder
StackMap stack:
new jdk.tools.jlink.internal.ImagePluginStack
dup
aload 5
aload 3
aload 4
invokespecial jdk.tools.jlink.internal.ImagePluginStack.<init>:(Ljdk/tools/jlink/builder/ImageBuilder;Ljava/util/List;Ljdk/tools/jlink/plugin/Plugin;)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 40 0 pluginsConfiguration Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;
3 40 1 plugins Ljava/util/Map<Ljdk/tools/jlink/plugin/Plugin$Category;Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;>;
5 6 2 cat Ljdk/tools/jlink/plugin/Plugin$Category;
8 40 2 seen Ljava/util/List<Ljava/lang/String;>;
10 22 3 plug Ljdk/tools/jlink/plugin/Plugin;
16 22 5 category Ljdk/tools/jlink/plugin/Plugin$Category;
21 22 6 lst Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
24 40 3 orderedPlugins Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
26 40 4 lastSorter Ljdk/tools/jlink/plugin/Plugin;
28 31 5 plugin Ljdk/tools/jlink/plugin/Plugin;
37 40 5 builder Ljdk/tools/jlink/builder/ImageBuilder;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
pluginsConfiguration
private static void lambda$0(java.util.List, java.util.Map$Entry);
descriptor: (Ljava/util/List;Ljava/util/Map$Entry;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Collection
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 entry Ljava/util/Map$Entry<Ljdk/tools/jlink/plugin/Plugin$Category;Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;>;
}
SourceFile: "ImagePluginConfiguration.java"
NestMembers:
jdk.tools.jlink.internal.ImagePluginConfiguration$1
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
jdk.tools.jlink.internal.ImagePluginConfiguration$1
public final PluginsConfiguration = jdk.tools.jlink.internal.Jlink$PluginsConfiguration of jdk.tools.jlink.internal.Jlink
public final Category = jdk.tools.jlink.plugin.Plugin$Category of jdk.tools.jlink.plugin.Plugin