public final class jdk.tools.jlink.internal.plugins.OrderResourcesPlugin implements jdk.tools.jlink.plugin.Plugin
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.plugins.OrderResourcesPlugin
super_class: java.lang.Object
{
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "order-resources"
private static final java.nio.file.FileSystem JRT_FILE_SYSTEM;
descriptor: Ljava/nio/file/FileSystem;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.List<java.util.function.ToIntFunction<java.lang.String>> filters;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/util/function/ToIntFunction<Ljava/lang/String;>;>;
private final java.util.Map<java.lang.String, java.lang.Integer> orderedPaths;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.tools.jlink.internal.Utils.jrtFileSystem:()Ljava/nio/file/FileSystem;
putstatic jdk.tools.jlink.internal.plugins.OrderResourcesPlugin.JRT_FILE_SYSTEM:Ljava/nio/file/FileSystem;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.tools.jlink.internal.plugins.OrderResourcesPlugin.filters:Ljava/util/List;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.tools.jlink.internal.plugins.OrderResourcesPlugin.orderedPaths:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin;
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: ldc "order-resources"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin;
private java.lang.String stripModule(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
1: aload 1
bipush 47
iconst_1
invokevirtual java.lang.String.indexOf:(II)I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpeq 4
3: aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin;
0 5 1 path Ljava/lang/String;
2 4 2 index I
MethodParameters:
Name Flags
path
private int getOrdinal(jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolEntry;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield jdk.tools.jlink.internal.plugins.OrderResourcesPlugin.orderedPaths:Ljava/util/Map;
aload 0
aload 2
invokevirtual jdk.tools.jlink.internal.plugins.OrderResourcesPlugin.stripModule:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 3
start local 3 2: aload 3
ifnull 4
3: aload 3
invokevirtual java.lang.Integer.intValue:()I
ireturn
4: StackMap locals: java.lang.String java.lang.Integer
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.plugins.OrderResourcesPlugin.filters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: jdk.tools.jlink.internal.plugins.OrderResourcesPlugin jdk.tools.jlink.plugin.ResourcePoolEntry java.lang.String java.lang.Integer top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.function.ToIntFunction
astore 4
start local 4 6: aload 4
aload 2
invokeinterface java.util.function.ToIntFunction.applyAsInt:(Ljava/lang/Object;)I
istore 6
start local 6 7: iload 6
ldc 2147483647
if_icmpeq 9
8: iload 6
ireturn
end local 6 end local 4 9: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: ldc 2147483647
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin;
0 11 1 resource Ljdk/tools/jlink/plugin/ResourcePoolEntry;
1 11 2 path Ljava/lang/String;
2 11 3 value Ljava/lang/Integer;
6 9 4 function Ljava/util/function/ToIntFunction<Ljava/lang/String;>;
7 9 6 ordinal I
MethodParameters:
Name Flags
resource
private static int compare(jdk.tools.jlink.internal.plugins.OrderResourcesPlugin$SortWrapper, jdk.tools.jlink.internal.plugins.OrderResourcesPlugin$SortWrapper);
descriptor: (Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.tools.jlink.internal.plugins.OrderResourcesPlugin$SortWrapper.getOrdinal:()I
aload 1
invokevirtual jdk.tools.jlink.internal.plugins.OrderResourcesPlugin$SortWrapper.getOrdinal:()I
isub
istore 2
start local 2 1: iload 2
ifeq 3
2: iload 2
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
invokevirtual jdk.tools.jlink.internal.plugins.OrderResourcesPlugin$SortWrapper.getPath:()Ljava/lang/String;
aload 1
invokevirtual jdk.tools.jlink.internal.plugins.OrderResourcesPlugin$SortWrapper.getPath:()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 wrapper1 Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;
0 4 1 wrapper2 Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;
1 4 2 compare I
MethodParameters:
Name Flags
wrapper1
wrapper2
public jdk.tools.jlink.plugin.ResourcePool transform(jdk.tools.jlink.plugin.ResourcePool, jdk.tools.jlink.plugin.ResourcePoolBuilder);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePool;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)Ljdk/tools/jlink/plugin/ResourcePool;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface jdk.tools.jlink.plugin.ResourcePool.entries:()Ljava/util/stream/Stream;
1: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
jdk/tools/jlink/internal/plugins/OrderResourcesPlugin.lambda$0(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Z (6)
(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
2: aload 0
invokedynamic apply(Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin;)Ljava/util/function/Function;
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/Object;
jdk/tools/jlink/internal/plugins/OrderResourcesPlugin.lambda$1(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper; (7)
(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: invokedynamic compare()Ljava/util/Comparator;
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/Object;)I
jdk/tools/jlink/internal/plugins/OrderResourcesPlugin.compare(Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;)I (6)
(Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;)I
invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
4: aload 2
invokedynamic accept(Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)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/plugins/OrderResourcesPlugin.lambda$3(Ljdk/tools/jlink/plugin/ResourcePoolBuilder;Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;)V (6)
(Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
5: aload 1
invokeinterface jdk.tools.jlink.plugin.ResourcePool.entries:()Ljava/util/stream/Stream;
6: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
jdk/tools/jlink/internal/plugins/OrderResourcesPlugin.lambda$4(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Z (6)
(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
7: aload 2
invokedynamic accept(Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)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/plugins/OrderResourcesPlugin.lambda$5(Ljdk/tools/jlink/plugin/ResourcePoolBuilder;Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V (6)
(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
8: aload 2
invokeinterface jdk.tools.jlink.plugin.ResourcePoolBuilder.build:()Ljdk/tools/jlink/plugin/ResourcePool;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin;
0 9 1 in Ljdk/tools/jlink/plugin/ResourcePool;
0 9 2 out Ljdk/tools/jlink/plugin/ResourcePoolBuilder;
MethodParameters:
Name Flags
in
out
public jdk.tools.jlink.plugin.Plugin$Category getType();
descriptor: ()Ljdk/tools/jlink/plugin/Plugin$Category;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.tools.jlink.plugin.Plugin$Category.SORTER:Ljdk/tools/jlink/plugin/Plugin$Category;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin;
public java.lang.String getDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "order-resources"
invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getDescription:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin;
public boolean hasArguments();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin;
public java.lang.String getArgumentsDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "order-resources"
iconst_0
anewarray java.lang.Object
invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getArgument:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin;
public void configure(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 1
ldc "order-resources"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic jdk.tools.jlink.internal.Utils.parseList:(Ljava/lang/String;)Ljava/util/List;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 21
StackMap locals: jdk.tools.jlink.internal.plugins.OrderResourcesPlugin java.util.Map java.util.List int top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 4: aload 4
ldc "@"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 17
5: new java.io.File
dup
aload 4
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 6
start local 6 6: aload 6
invokevirtual java.io.File.exists:()Z
ifeq 21
7: aload 6
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokestatic java.nio.file.Files.readAllLines:(Ljava/nio/file/Path;)Ljava/util/List;
astore 7
start local 7 8: goto 11
end local 7 StackMap locals: jdk.tools.jlink.internal.plugins.OrderResourcesPlugin java.util.Map java.util.List int java.lang.String java.util.Iterator java.io.File
StackMap stack: java.io.IOException
9: astore 8
start local 8 10: new java.io.UncheckedIOException
dup
aload 8
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 8 start local 7 11: StackMap locals: java.util.List
StackMap stack:
aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 15
StackMap locals: jdk.tools.jlink.internal.plugins.OrderResourcesPlugin java.util.Map java.util.List int java.lang.String java.util.Iterator java.io.File java.util.List top java.util.Iterator
StackMap stack:
12: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 13: aload 8
ldc "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 15
14: aload 0
getfield jdk.tools.jlink.internal.plugins.OrderResourcesPlugin.orderedPaths:Ljava/util/Map;
new java.lang.StringBuilder
dup
aload 8
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 3
iinc 3 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 15: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
end local 7 end local 6 16: goto 21
17: StackMap locals: jdk.tools.jlink.internal.plugins.OrderResourcesPlugin java.util.Map java.util.List int java.lang.String java.util.Iterator
StackMap stack:
iload 3
iinc 3 1
istore 6
start local 6 18: getstatic jdk.tools.jlink.internal.plugins.OrderResourcesPlugin.JRT_FILE_SYSTEM:Ljava/nio/file/FileSystem;
aload 4
invokestatic jdk.tools.jlink.internal.Utils.getPathMatcher:(Ljava/nio/file/FileSystem;Ljava/lang/String;)Ljava/nio/file/PathMatcher;
astore 7
start local 7 19: aload 7
iload 6
invokedynamic applyAsInt(Ljava/nio/file/PathMatcher;I)Ljava/util/function/ToIntFunction;
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;)I
jdk/tools/jlink/internal/plugins/OrderResourcesPlugin.lambda$6(Ljava/nio/file/PathMatcher;ILjava/lang/String;)I (6)
(Ljava/lang/String;)I
astore 8
start local 8 20: aload 0
getfield jdk.tools.jlink.internal.plugins.OrderResourcesPlugin.filters:Ljava/util/List;
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 end local 6 end local 4 21: StackMap locals: jdk.tools.jlink.internal.plugins.OrderResourcesPlugin java.util.Map java.util.List int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
22: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin;
0 23 1 config Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 23 2 patterns Ljava/util/List<Ljava/lang/String;>;
2 23 3 ordinal I
4 21 4 pattern Ljava/lang/String;
6 16 6 file Ljava/io/File;
8 9 7 lines Ljava/util/List<Ljava/lang/String;>;
11 16 7 lines Ljava/util/List<Ljava/lang/String;>;
10 11 8 ex Ljava/io/IOException;
13 15 8 line Ljava/lang/String;
18 21 6 result I
19 21 7 matcher Ljava/nio/file/PathMatcher;
20 21 8 function Ljava/util/function/ToIntFunction<Ljava/lang/String;>;
Exception table:
from to target type
7 8 9 Class java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
config
private static boolean lambda$0(jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.type:()Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
1: getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.CLASS_OR_RESOURCE:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
invokevirtual jdk.tools.jlink.plugin.ResourcePoolEntry$Type.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 resource Ljdk/tools/jlink/plugin/ResourcePoolEntry;
private jdk.tools.jlink.internal.plugins.OrderResourcesPlugin$SortWrapper lambda$1(jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new jdk.tools.jlink.internal.plugins.OrderResourcesPlugin$SortWrapper
dup
aload 1
aload 0
aload 1
invokevirtual jdk.tools.jlink.internal.plugins.OrderResourcesPlugin.getOrdinal:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)I
invokespecial jdk.tools.jlink.internal.plugins.OrderResourcesPlugin$SortWrapper.<init>:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin;
0 1 1 resource Ljdk/tools/jlink/plugin/ResourcePoolEntry;
private static void lambda$3(jdk.tools.jlink.plugin.ResourcePoolBuilder, jdk.tools.jlink.internal.plugins.OrderResourcesPlugin$SortWrapper);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolBuilder;Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;)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
invokevirtual jdk.tools.jlink.internal.plugins.OrderResourcesPlugin$SortWrapper.getResource:()Ljdk/tools/jlink/plugin/ResourcePoolEntry;
invokeinterface jdk.tools.jlink.plugin.ResourcePoolBuilder.add:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 wrapper Ljdk/tools/jlink/internal/plugins/OrderResourcesPlugin$SortWrapper;
private static boolean lambda$4(jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.type:()Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
1: getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.CLASS_OR_RESOURCE:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
invokevirtual jdk.tools.jlink.plugin.ResourcePoolEntry$Type.equals:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_0
goto 4
StackMap locals:
StackMap stack:
3: iconst_1
4: StackMap locals:
StackMap stack: int
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 other Ljdk/tools/jlink/plugin/ResourcePoolEntry;
private static void lambda$5(jdk.tools.jlink.plugin.ResourcePoolBuilder, jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolBuilder;Ljdk/tools/jlink/plugin/ResourcePoolEntry;)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 jdk.tools.jlink.plugin.ResourcePoolBuilder.add:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 other Ljdk/tools/jlink/plugin/ResourcePoolEntry;
private static int lambda$6(java.nio.file.PathMatcher, int, java.lang.String);
descriptor: (Ljava/nio/file/PathMatcher;ILjava/lang/String;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 2 0: aload 0
getstatic jdk.tools.jlink.internal.plugins.OrderResourcesPlugin.JRT_FILE_SYSTEM:Ljava/nio/file/FileSystem;
aload 2
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.PathMatcher.matches:(Ljava/nio/file/Path;)Z
ifeq 1
iload 1
goto 2
StackMap locals:
StackMap stack:
1: ldc 2147483647
StackMap locals:
StackMap stack: int
2: ireturn
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 3 2 path Ljava/lang/String;
}
SourceFile: "OrderResourcesPlugin.java"
NestMembers:
jdk.tools.jlink.internal.plugins.OrderResourcesPlugin$SortWrapper
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
SortWrapper = jdk.tools.jlink.internal.plugins.OrderResourcesPlugin$SortWrapper of jdk.tools.jlink.internal.plugins.OrderResourcesPlugin
public final Category = jdk.tools.jlink.plugin.Plugin$Category of jdk.tools.jlink.plugin.Plugin
public final Type = jdk.tools.jlink.plugin.ResourcePoolEntry$Type of jdk.tools.jlink.plugin.ResourcePoolEntry