class com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder implements java.lang.module.ModuleFinder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder
super_class: java.lang.Object
{
private static final java.lang.String JAVA_HOME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.nio.file.FileSystem fileSystem;
descriptor: Ljava/nio/file/FileSystem;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.file.Path root;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, java.lang.module.ModuleReference> systemModules;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/module/ModuleReference;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.JAVA_HOME:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.JAVA_HOME:Ljava/lang/String;
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "lib"
aastore
dup
iconst_1
ldc "modules"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isRegularFile:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 6
2: aload 0
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;
putfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.fileSystem:Ljava/nio/file/FileSystem;
3: aload 0
aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.fileSystem:Ljava/nio/file/FileSystem;
ldc "/modules"
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
putfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.root:Ljava/nio/file/Path;
4: aload 0
aload 0
aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.root:Ljava/nio/file/Path;
invokevirtual com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.walk:(Ljava/nio/file/Path;)Ljava/util/Map;
putfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.systemModules:Ljava/util/Map;
5: goto 11
6: StackMap locals: com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder
StackMap stack:
aload 0
invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
putfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.fileSystem:Ljava/nio/file/FileSystem;
7: aload 0
getstatic com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.JAVA_HOME:Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "modules"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
putfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.root:Ljava/nio/file/Path;
8: aload 0
invokestatic java.lang.module.ModuleFinder.ofSystem:()Ljava/lang/module/ModuleFinder;
invokeinterface java.lang.module.ModuleFinder.findAll:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
9: 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;
com/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder.lambda$0(Ljava/lang/module/ModuleReference;)Ljava/lang/String; (6)
(Ljava/lang/module/ModuleReference;)Ljava/lang/String;
invokestatic java.util.function.Function.identity:()Ljava/util/function/Function;
invokestatic java.util.stream.Collectors.toMap:(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Map
10: putfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.systemModules:Ljava/util/Map;
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 6
2: aload 0
aconst_null
putfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.fileSystem:Ljava/nio/file/FileSystem;
3: aload 0
aconst_null
putfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.root:Ljava/nio/file/Path;
4: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.systemModules:Ljava/util/Map;
5: goto 13
6: StackMap locals: com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder java.lang.String
StackMap stack:
aload 1
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "lib"
aastore
dup
iconst_1
ldc "modules"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isRegularFile:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 8
7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid java.home: "
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;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 9: aload 2
ldc "java.home"
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
ldc "jrt:/"
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
aload 2
invokestatic java.nio.file.FileSystems.newFileSystem:(Ljava/net/URI;Ljava/util/Map;)Ljava/nio/file/FileSystem;
putfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.fileSystem:Ljava/nio/file/FileSystem;
11: aload 0
aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.fileSystem:Ljava/nio/file/FileSystem;
ldc "/modules"
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
putfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.root:Ljava/nio/file/Path;
12: aload 0
aload 0
aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.root:Ljava/nio/file/Path;
invokevirtual com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.walk:(Ljava/nio/file/Path;)Ljava/util/Map;
putfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.systemModules:Ljava/util/Map;
end local 2 13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
0 14 1 javaHome Ljava/lang/String;
9 13 2 env Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
javaHome
private java.util.Map<java.lang.String, java.lang.module.ModuleReference> walk(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 1
iconst_1
iconst_0
anewarray java.nio.file.FileVisitOption
invokestatic java.nio.file.Files.walk:(Ljava/nio/file/Path;I[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
astore 4
start local 4 2: aload 4
aload 1
invokedynamic test(Ljava/nio/file/Path;)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
com/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder.lambda$1(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z (6)
(Ljava/nio/file/Path;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
3: aload 0
invokedynamic apply(Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;)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;
com/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder.toModuleReference(Ljava/nio/file/Path;)Ljava/lang/module/ModuleReference; (7)
(Ljava/nio/file/Path;)Ljava/lang/module/ModuleReference;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
4: 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;
com/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder.lambda$3(Ljava/lang/module/ModuleReference;)Ljava/lang/String; (6)
(Ljava/lang/module/ModuleReference;)Ljava/lang/String;
5: invokestatic java.util.function.Function.identity:()Ljava/util/function/Function;
6: invokestatic java.util.stream.Collectors.toMap:(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Map
7: aload 4
ifnull 8
aload 4
invokeinterface java.util.stream.Stream.close:()V
8: StackMap locals: com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder java.nio.file.Path java.lang.Throwable java.lang.Throwable java.util.stream.Stream
StackMap stack: java.util.Map
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
10: aload 4
ifnull 11
aload 4
invokeinterface java.util.stream.Stream.close:()V
end local 4 StackMap locals:
StackMap stack:
11: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 3
aload 2
ifnonnull 13
aload 3
astore 2
goto 14
StackMap locals:
StackMap stack:
13: aload 2
aload 3
if_acmpeq 14
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 2
athrow
StackMap locals: com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder java.nio.file.Path
StackMap stack: java.io.IOException
15: astore 2
start local 2 16: new java.io.UncheckedIOException
dup
aload 2
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
0 17 1 root Ljava/nio/file/Path;
2 11 4 stream Ljava/util/stream/Stream<Ljava/nio/file/Path;>;
16 17 2 e Ljava/io/IOException;
Exception table:
from to target type
2 7 9 any
1 8 12 any
9 12 12 any
0 8 15 Class java.io.IOException
9 15 15 Class java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/module/ModuleReference;>;
MethodParameters:
Name Flags
root
private java.lang.module.ModuleReference toModuleReference(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/module/ModuleReference;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: aload 1
ldc "module-info.class"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 1: aconst_null
astore 3
aconst_null
astore 4
2: aload 2
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
astore 5
start local 5 3: new java.io.BufferedInputStream
dup
aload 5
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 6
start local 6 4: aload 0
aload 6
invokestatic java.lang.module.ModuleDescriptor.read:(Ljava/io/InputStream;)Ljava/lang/module/ModuleDescriptor;
invokevirtual com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.dropHashes:(Ljava/lang/module/ModuleDescriptor;)Ljava/lang/module/ModuleDescriptor;
astore 7
start local 7 5: aload 7
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 8
start local 8 6: new java.lang.StringBuilder
dup
ldc "jrt:/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
astore 9
start local 9 7: aload 0
aload 8
aload 9
invokedynamic get(Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;Ljava/lang/String;Ljava/net/URI;)Ljava/util/function/Supplier;
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;
com/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder.lambda$4(Ljava/lang/String;Ljava/net/URI;)Ljava/lang/module/ModuleReader; (7)
()Ljava/lang/module/ModuleReader;
astore 10
start local 10 8: new com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder$2
dup
aload 0
aload 7
aload 9
aload 10
invokespecial com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder$2.<init>:(Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;Ljava/util/function/Supplier;)V
9: aload 6
ifnull 10
aload 6
invokevirtual java.io.BufferedInputStream.close:()V
StackMap locals: com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder java.nio.file.Path java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.BufferedInputStream java.lang.module.ModuleDescriptor java.lang.String java.net.URI java.util.function.Supplier
StackMap stack: com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder$2
10: aload 5
ifnull 11
aload 5
invokevirtual java.io.InputStream.close:()V
11: StackMap locals:
StackMap stack: com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder$2
areturn
end local 10 end local 9 end local 8 end local 7 StackMap locals: com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder java.nio.file.Path java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.BufferedInputStream
StackMap stack: java.lang.Throwable
12: astore 3
13: aload 6
ifnull 14
aload 6
invokevirtual java.io.BufferedInputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
14: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 4
aload 3
ifnonnull 16
aload 4
astore 3
goto 17
StackMap locals:
StackMap stack:
16: aload 3
aload 4
if_acmpeq 17
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 5
ifnull 18
aload 5
invokevirtual java.io.InputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
18: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 4
aload 3
ifnonnull 20
aload 4
astore 3
goto 21
StackMap locals:
StackMap stack:
20: aload 3
aload 4
if_acmpeq 21
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 3
athrow
StackMap locals: com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder java.nio.file.Path java.nio.file.Path
StackMap stack: java.io.IOException
22: astore 3
start local 3 23: new java.io.UncheckedIOException
dup
aload 3
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
0 24 1 path Ljava/nio/file/Path;
1 24 2 minfo Ljava/nio/file/Path;
3 18 5 in Ljava/io/InputStream;
4 14 6 bin Ljava/io/BufferedInputStream;
5 12 7 descriptor Ljava/lang/module/ModuleDescriptor;
6 12 8 mn Ljava/lang/String;
7 12 9 uri Ljava/net/URI;
8 12 10 readerSupplier Ljava/util/function/Supplier<Ljava/lang/module/ModuleReader;>;
23 24 3 e Ljava/io/IOException;
Exception table:
from to target type
4 9 12 any
3 10 15 any
12 15 15 any
2 11 19 any
12 19 19 any
1 11 22 Class java.io.IOException
12 22 22 Class java.io.IOException
MethodParameters:
Name Flags
path
private java.lang.module.ModuleDescriptor dropHashes(java.lang.module.ModuleDescriptor);
descriptor: (Ljava/lang/module/ModuleDescriptor;)Ljava/lang/module/ModuleDescriptor;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
invokestatic java.lang.module.ModuleDescriptor.newModule:(Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Builder;
astore 2
start local 2 1: aload 1
invokevirtual java.lang.module.ModuleDescriptor.requires:()Ljava/util/Set;
aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/lang/module/ModuleDescriptor$Builder;)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
java/lang/module/ModuleDescriptor$Builder.requires(Ljava/lang/module/ModuleDescriptor$Requires;)Ljava/lang/module/ModuleDescriptor$Builder; (5)
(Ljava/lang/module/ModuleDescriptor$Requires;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
2: aload 1
invokevirtual java.lang.module.ModuleDescriptor.exports:()Ljava/util/Set;
aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/lang/module/ModuleDescriptor$Builder;)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
java/lang/module/ModuleDescriptor$Builder.exports(Ljava/lang/module/ModuleDescriptor$Exports;)Ljava/lang/module/ModuleDescriptor$Builder; (5)
(Ljava/lang/module/ModuleDescriptor$Exports;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
3: aload 1
invokevirtual java.lang.module.ModuleDescriptor.opens:()Ljava/util/Set;
aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/lang/module/ModuleDescriptor$Builder;)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
java/lang/module/ModuleDescriptor$Builder.opens(Ljava/lang/module/ModuleDescriptor$Opens;)Ljava/lang/module/ModuleDescriptor$Builder; (5)
(Ljava/lang/module/ModuleDescriptor$Opens;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
4: aload 1
invokevirtual java.lang.module.ModuleDescriptor.provides:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/lang/module/ModuleDescriptor$Builder;)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
java/lang/module/ModuleDescriptor$Builder.provides(Ljava/lang/module/ModuleDescriptor$Provides;)Ljava/lang/module/ModuleDescriptor$Builder; (5)
(Ljava/lang/module/ModuleDescriptor$Provides;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
5: aload 1
invokevirtual java.lang.module.ModuleDescriptor.uses:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/lang/module/ModuleDescriptor$Builder;)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
java/lang/module/ModuleDescriptor$Builder.uses(Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Builder; (5)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
6: aload 2
aload 1
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
invokevirtual java.lang.module.ModuleDescriptor$Builder.packages:(Ljava/util/Set;)Ljava/lang/module/ModuleDescriptor$Builder;
pop
7: aload 2
invokevirtual java.lang.module.ModuleDescriptor$Builder.build:()Ljava/lang/module/ModuleDescriptor;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
0 8 1 md Ljava/lang/module/ModuleDescriptor;
1 8 2 builder Ljava/lang/module/ModuleDescriptor$Builder;
MethodParameters:
Name Flags
md
public java.util.Set<java.lang.module.ModuleReference> findAll();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.systemModules:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
Signature: ()Ljava/util/Set<Ljava/lang/module/ModuleReference;>;
public java.util.Optional<java.lang.module.ModuleReference> find(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.systemModules:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.systemModules:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
goto 3
StackMap locals:
StackMap stack:
2: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
3: StackMap locals:
StackMap stack: java.util.Optional
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
0 4 1 mn Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljava/lang/module/ModuleReference;>;
MethodParameters:
Name Flags
mn
public java.util.stream.Stream<java.lang.String> moduleNames();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.systemModules:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.stream:()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;
com/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder.lambda$10(Ljava/lang/module/ModuleReference;)Ljava/lang/String; (6)
(Ljava/lang/module/ModuleReference;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
Signature: ()Ljava/util/stream/Stream<Ljava/lang/String;>;
public com.sun.tools.jdeps.ClassFileReader getClassReader(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/jdeps/ClassFileReader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.root:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 1: aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 3
aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 3
2: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.fileSystem:Ljava/nio/file/FileSystem;
aload 2
invokestatic com.sun.tools.jdeps.ClassFileReader.newInstance:(Ljava/nio/file/FileSystem;Ljava/nio/file/Path;)Lcom/sun/tools/jdeps/ClassFileReader;
areturn
3: StackMap locals: java.nio.file.Path
StackMap stack:
new java.io.FileNotFoundException
dup
aload 2
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
0 4 1 modulename Ljava/lang/String;
1 4 2 mp Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
modulename
public java.util.Set<java.lang.String> defaultSystemRoots();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.systemModules:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.stream:()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;
java/lang/module/ModuleReference.descriptor()Ljava/lang/module/ModuleDescriptor; (5)
(Ljava/lang/module/ModuleReference;)Ljava/lang/module/ModuleDescriptor;
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
com/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder.lambda$12(Ljava/lang/module/ModuleDescriptor;)Z (6)
(Ljava/lang/module/ModuleDescriptor;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
3: 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;
java/lang/module/ModuleDescriptor.name()Ljava/lang/String; (5)
(Ljava/lang/module/ModuleDescriptor;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
4: invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
5: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
private static java.lang.String lambda$0(java.lang.module.ModuleReference);
descriptor: (Ljava/lang/module/ModuleReference;)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.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mref Ljava/lang/module/ModuleReference;
private static boolean lambda$1(java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
aload 0
invokeinterface java.nio.file.Path.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 path Ljava/nio/file/Path;
private static java.lang.String lambda$3(java.lang.module.ModuleReference);
descriptor: (Ljava/lang/module/ModuleReference;)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.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mref Ljava/lang/module/ModuleReference;
private java.lang.module.ModuleReader lambda$4(java.lang.String, java.net.URI);
descriptor: (Ljava/lang/String;Ljava/net/URI;)Ljava/lang/module/ModuleReader;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=3
start local 0 0: new com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder$1
dup
aload 0
aload 1
aload 2
invokespecial com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder$1.<init>:(Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;Ljava/lang/String;Ljava/net/URI;)V
1: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
private static java.lang.String lambda$10(java.lang.module.ModuleReference);
descriptor: (Ljava/lang/module/ModuleReference;)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.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mref Ljava/lang/module/ModuleReference;
private static boolean lambda$12(java.lang.module.ModuleDescriptor);
descriptor: (Ljava/lang/module/ModuleDescriptor;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.module.ModuleDescriptor.exports:()Ljava/util/Set;
1: invokeinterface java.util.Set.stream:()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
com/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder.lambda$13(Ljava/lang/module/ModuleDescriptor$Exports;)Z (6)
(Ljava/lang/module/ModuleDescriptor$Exports;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
3: invokeinterface java.util.stream.Stream.findAny:()Ljava/util/Optional;
4: invokevirtual java.util.Optional.isPresent:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 descriptor Ljava/lang/module/ModuleDescriptor;
private static boolean lambda$13(java.lang.module.ModuleDescriptor$Exports);
descriptor: (Ljava/lang/module/ModuleDescriptor$Exports;)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.module.ModuleDescriptor$Exports.isQualified:()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 e Ljava/lang/module/ModuleDescriptor$Exports;
}
SourceFile: "JdepsConfiguration.java"
NestHost: com.sun.tools.jdeps.JdepsConfiguration
InnerClasses:
SystemModuleFinder = com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder of com.sun.tools.jdeps.JdepsConfiguration
com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder$1
com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder$2
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Builder = java.lang.module.ModuleDescriptor$Builder of java.lang.module.ModuleDescriptor
public final Exports = java.lang.module.ModuleDescriptor$Exports of java.lang.module.ModuleDescriptor
public final Opens = java.lang.module.ModuleDescriptor$Opens of java.lang.module.ModuleDescriptor
public final Provides = java.lang.module.ModuleDescriptor$Provides of java.lang.module.ModuleDescriptor
public final Requires = java.lang.module.ModuleDescriptor$Requires of java.lang.module.ModuleDescriptor