public class jdk.tools.jlink.internal.Utils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.tools.jlink.internal.Utils
super_class: java.lang.Object
{
private static java.nio.file.FileSystem JRT_FILE_SYSTEM;
descriptor: Ljava/nio/file/FileSystem;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.lang.Module THIS_MODULE;
descriptor: Ljava/lang/Module;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/tools/jlink/internal/Utils;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
putstatic jdk.tools.jlink.internal.Utils.THIS_MODULE:Ljava/lang/Module;
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/Utils;
public static java.util.List<java.lang.String> parseList(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
1: invokedynamic apply()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/Utils.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: 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/Utils.lambda$1(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
3: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
4: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 arguments Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
arguments
public static java.util.List<jdk.tools.jlink.plugin.Plugin> getSortedPlugins(java.util.List<jdk.tools.jlink.plugin.Plugin>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
2: aload 1
new jdk.tools.jlink.internal.Utils$1
dup
invokespecial jdk.tools.jlink.internal.Utils$1.<init>:()V
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 plugins Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
1 4 1 res Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
Signature: (Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;)Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
MethodParameters:
Name Flags
plugins
public static boolean isFunctional(jdk.tools.jlink.plugin.Plugin);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.tools.jlink.plugin.Plugin.getState:()Ljava/util/Set;
getstatic jdk.tools.jlink.plugin.Plugin$State.FUNCTIONAL:Ljdk/tools/jlink/plugin/Plugin$State;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 prov Ljdk/tools/jlink/plugin/Plugin;
MethodParameters:
Name Flags
prov
public static boolean isAutoEnabled(jdk.tools.jlink.plugin.Plugin);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.tools.jlink.plugin.Plugin.getState:()Ljava/util/Set;
getstatic jdk.tools.jlink.plugin.Plugin$State.AUTO_ENABLED:Ljdk/tools/jlink/plugin/Plugin$State;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 prov Ljdk/tools/jlink/plugin/Plugin;
MethodParameters:
Name Flags
prov
public static boolean isDisabled(jdk.tools.jlink.plugin.Plugin);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.tools.jlink.plugin.Plugin.getState:()Ljava/util/Set;
getstatic jdk.tools.jlink.plugin.Plugin$State.DISABLED:Ljdk/tools/jlink/plugin/Plugin$State;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 prov Ljdk/tools/jlink/plugin/Plugin;
MethodParameters:
Name Flags
prov
public static boolean isBuiltin(jdk.tools.jlink.plugin.Plugin);
descriptor: (Ljdk/tools/jlink/plugin/Plugin;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.tools.jlink.internal.Utils.THIS_MODULE:Ljava/lang/Module;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 prov Ljdk/tools/jlink/plugin/Plugin;
MethodParameters:
Name Flags
prov
public static java.nio.file.FileSystem jrtFileSystem();
descriptor: ()Ljava/nio/file/FileSystem;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.tools.jlink.internal.Utils.JRT_FILE_SYSTEM:Ljava/nio/file/FileSystem;
ifnonnull 2
1: ldc "jrt:/"
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
invokestatic java.nio.file.FileSystems.getFileSystem:(Ljava/net/URI;)Ljava/nio/file/FileSystem;
putstatic jdk.tools.jlink.internal.Utils.JRT_FILE_SYSTEM:Ljava/nio/file/FileSystem;
2: StackMap locals:
StackMap stack:
getstatic jdk.tools.jlink.internal.Utils.JRT_FILE_SYSTEM:Ljava/nio/file/FileSystem;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.nio.file.PathMatcher getPathMatcher(java.nio.file.FileSystem, java.lang.String);
descriptor: (Ljava/nio/file/FileSystem;Ljava/lang/String;)Ljava/nio/file/PathMatcher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "glob:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
aload 1
ldc "regex:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
1: new java.lang.StringBuilder
dup
ldc "glob:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.nio.file.FileSystem.getPathMatcher:(Ljava/lang/String;)Ljava/nio/file/PathMatcher;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 fs Ljava/nio/file/FileSystem;
0 3 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
fs
pattern
public static java.nio.file.PathMatcher getJRTFSPathMatcher(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/PathMatcher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic jdk.tools.jlink.internal.Utils.jrtFileSystem:()Ljava/nio/file/FileSystem;
aload 0
invokestatic jdk.tools.jlink.internal.Utils.getPathMatcher:(Ljava/nio/file/FileSystem;Ljava/lang/String;)Ljava/nio/file/PathMatcher;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
public static java.nio.file.Path getJRTFSPath(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.tools.jlink.internal.Utils.jrtFileSystem:()Ljava/nio/file/FileSystem;
aload 0
aload 1
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 first Ljava/lang/String;
0 1 1 more [Ljava/lang/String;
MethodParameters:
Name Flags
first
more
private static java.lang.String lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 p Ljava/lang/String;
private static boolean lambda$1(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 p Ljava/lang/String;
}
SourceFile: "Utils.java"
NestMembers:
jdk.tools.jlink.internal.Utils$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
jdk.tools.jlink.internal.Utils$1
public final State = jdk.tools.jlink.plugin.Plugin$State of jdk.tools.jlink.plugin.Plugin