public class com.sun.tools.jdeps.JdepsConfiguration implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.jdeps.JdepsConfiguration
super_class: java.lang.Object
{
public static final java.lang.String ALL_MODULE_PATH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "ALL-MODULE-PATH"
public static final java.lang.String ALL_DEFAULT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "ALL-DEFAULT"
public static final java.lang.String ALL_SYSTEM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "ALL-SYSTEM"
public static final java.lang.String MODULE_INFO;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "module-info.class"
private final com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder system;
descriptor: Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.module.ModuleFinder finder;
descriptor: Ljava/lang/module/ModuleFinder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, com.sun.tools.jdeps.Module> nameToModule;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/jdeps/Module;>;
private final java.util.Map<java.lang.String, com.sun.tools.jdeps.Module> packageToModule;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/jdeps/Module;>;
private final java.util.Map<java.lang.String, java.util.List<com.sun.tools.jdeps.Archive>> packageToUnnamedModule;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lcom/sun/tools/jdeps/Archive;>;>;
private final java.util.List<com.sun.tools.jdeps.Archive> classpathArchives;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/sun/tools/jdeps/Archive;>;
private final java.util.List<com.sun.tools.jdeps.Archive> initialArchives;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/sun/tools/jdeps/Archive;>;
private final java.util.Set<com.sun.tools.jdeps.Module> rootModules;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lcom/sun/tools/jdeps/Module;>;
private final java.lang.Runtime$Version version;
descriptor: Ljava/lang/Runtime$Version;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(java.lang.module.Configuration, com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder, java.lang.module.ModuleFinder, java.util.Set<java.lang.String>, java.util.List<java.nio.file.Path>, java.util.List<com.sun.tools.jdeps.Archive>, java.lang.Runtime$Version);
descriptor: (Ljava/lang/module/Configuration;Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;Ljava/lang/module/ModuleFinder;Ljava/util/Set;Ljava/util/List;Ljava/util/List;Ljava/lang/Runtime$Version;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=12, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield com.sun.tools.jdeps.JdepsConfiguration.nameToModule:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.jdeps.JdepsConfiguration.packageToModule:Ljava/util/Map;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.jdeps.JdepsConfiguration.packageToUnnamedModule:Ljava/util/Map;
4: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.tools.jdeps.JdepsConfiguration.classpathArchives:Ljava/util/List;
5: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.tools.jdeps.JdepsConfiguration.initialArchives:Ljava/util/List;
6: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield com.sun.tools.jdeps.JdepsConfiguration.rootModules:Ljava/util/Set;
7: ldc "root: %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokestatic com.sun.tools.jdeps.Module.trace:(Ljava/lang/String;[Ljava/lang/Object;)V
8: ldc "initial archives: %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokestatic com.sun.tools.jdeps.Module.trace:(Ljava/lang/String;[Ljava/lang/Object;)V
9: ldc "class path: %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokestatic com.sun.tools.jdeps.Module.trace:(Ljava/lang/String;[Ljava/lang/Object;)V
10: aload 0
aload 2
putfield com.sun.tools.jdeps.JdepsConfiguration.system:Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
11: aload 0
aload 3
putfield com.sun.tools.jdeps.JdepsConfiguration.finder:Ljava/lang/module/ModuleFinder;
12: aload 0
aload 7
putfield com.sun.tools.jdeps.JdepsConfiguration.version:Ljava/lang/Runtime$Version;
13: aload 1
invokevirtual java.lang.module.Configuration.modules:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
14: 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/ResolvedModule.reference()Ljava/lang/module/ModuleReference; (5)
(Ljava/lang/module/ResolvedModule;)Ljava/lang/module/ModuleReference;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
15: aload 0
invokedynamic accept(Lcom/sun/tools/jdeps/JdepsConfiguration;)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
com/sun/tools/jdeps/JdepsConfiguration.addModuleReference(Ljava/lang/module/ModuleReference;)V (7)
(Ljava/lang/module/ModuleReference;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
16: aload 6
aload 0
invokedynamic accept(Lcom/sun/tools/jdeps/JdepsConfiguration;)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
com/sun/tools/jdeps/JdepsConfiguration.lambda$2(Lcom/sun/tools/jdeps/Archive;)V (7)
(Lcom/sun/tools/jdeps/Archive;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
17: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 23
StackMap locals: com.sun.tools.jdeps.JdepsConfiguration java.lang.module.Configuration com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder java.lang.module.ModuleFinder java.util.Set java.util.List java.util.List java.lang.Runtime$Version top top java.util.Iterator
StackMap stack:
18: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 9
start local 9 19: aload 9
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 23
20: aload 9
aload 7
invokestatic com.sun.tools.jdeps.Archive.getInstance:(Ljava/nio/file/Path;Ljava/lang/Runtime$Version;)Lcom/sun/tools/jdeps/Archive;
astore 11
start local 11 21: aload 0
aload 11
invokevirtual com.sun.tools.jdeps.JdepsConfiguration.addPackagesInUnnamedModule:(Lcom/sun/tools/jdeps/Archive;)V
22: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.classpathArchives:Ljava/util/List;
aload 11
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 11 end local 9 23: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
24: aload 4
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
25: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.nameToModule:Ljava/util/Map;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic apply(Ljava/util/Map;)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/util/Map.get(Ljava/lang/Object;)Ljava/lang/Object; (9 itf)
(Ljava/lang/String;)Lcom/sun/tools/jdeps/Module;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
26: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.rootModules:Ljava/util/Set;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/util/Set;)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/util/Set.add(Ljava/lang/Object;)Z (9 itf)
(Lcom/sun/tools/jdeps/Module;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
27: aload 0
invokevirtual com.sun.tools.jdeps.JdepsConfiguration.initProfiles:()V
28: ldc "resolved modules: %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.nameToModule:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
29: invokeinterface java.util.stream.Stream.sorted:()Ljava/util/stream/Stream;
ldc "\n"
ldc "\n"
ldc ""
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
aastore
30: invokestatic com.sun.tools.jdeps.Module.trace:(Ljava/lang/String;[Ljava/lang/Object;)V
31: return
end local 7 end local 6 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 32 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 32 1 config Ljava/lang/module/Configuration;
0 32 2 systemModulePath Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
0 32 3 finder Ljava/lang/module/ModuleFinder;
0 32 4 roots Ljava/util/Set<Ljava/lang/String;>;
0 32 5 classpaths Ljava/util/List<Ljava/nio/file/Path;>;
0 32 6 initialArchives Ljava/util/List<Lcom/sun/tools/jdeps/Archive;>;
0 32 7 version Ljava/lang/Runtime$Version;
19 23 9 p Ljava/nio/file/Path;
21 23 11 archive Lcom/sun/tools/jdeps/Archive;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/module/Configuration;Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;Ljava/lang/module/ModuleFinder;Ljava/util/Set<Ljava/lang/String;>;Ljava/util/List<Ljava/nio/file/Path;>;Ljava/util/List<Lcom/sun/tools/jdeps/Archive;>;Ljava/lang/Runtime$Version;)V
MethodParameters:
Name Flags
config
systemModulePath
finder
roots
classpaths
initialArchives
version
private void initProfiles();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.system:Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
invokevirtual com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.moduleNames:()Ljava/util/stream/Stream;
1: invokestatic java.util.function.Function.identity:()Ljava/util/function/Function;
aload 0
invokedynamic apply(Lcom/sun/tools/jdeps/JdepsConfiguration;)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.lambda$5(Ljava/lang/String;)Lcom/sun/tools/jdeps/Module; (7)
(Ljava/lang/String;)Lcom/sun/tools/jdeps/Module;
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
2: astore 1
start local 1 3: aload 1
invokestatic com.sun.tools.jdeps.Profile.init:(Ljava/util/Map;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
3 5 1 systemModules Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/jdeps/Module;>;
private void addModuleReference(java.lang.module.ModuleReference);
descriptor: (Ljava/lang/module/ModuleReference;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.jdeps.JdepsConfiguration.toModule:(Ljava/lang/module/ModuleReference;)Lcom/sun/tools/jdeps/Module;
astore 2
start local 2 1: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.nameToModule:Ljava/util/Map;
aload 1
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
3: aload 0
aload 2
invokedynamic accept(Lcom/sun/tools/jdeps/JdepsConfiguration;Lcom/sun/tools/jdeps/Module;)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
com/sun/tools/jdeps/JdepsConfiguration.lambda$6(Lcom/sun/tools/jdeps/Module;Ljava/lang/String;)V (7)
(Ljava/lang/String;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 5 1 mref Ljava/lang/module/ModuleReference;
1 5 2 module Lcom/sun/tools/jdeps/Module;
MethodParameters:
Name Flags
mref
private void addPackagesInUnnamedModule(com.sun.tools.jdeps.Archive);
descriptor: (Lcom/sun/tools/jdeps/Archive;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.tools.jdeps.Archive.reader:()Lcom/sun/tools/jdeps/ClassFileReader;
invokevirtual com.sun.tools.jdeps.ClassFileReader.entries:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()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
com/sun/tools/jdeps/JdepsConfiguration.lambda$7(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
2: aload 0
invokedynamic apply(Lcom/sun/tools/jdeps/JdepsConfiguration;)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.toPackageName(Ljava/lang/String;)Ljava/lang/String; (7)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: invokeinterface java.util.stream.Stream.distinct:()Ljava/util/stream/Stream;
4: aload 0
aload 1
invokedynamic accept(Lcom/sun/tools/jdeps/JdepsConfiguration;Lcom/sun/tools/jdeps/Archive;)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
com/sun/tools/jdeps/JdepsConfiguration.lambda$9(Lcom/sun/tools/jdeps/Archive;Ljava/lang/String;)V (7)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 6 1 archive Lcom/sun/tools/jdeps/Archive;
MethodParameters:
Name Flags
archive
private java.lang.String toPackageName(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
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 1: iload 2
ifle 2
aload 1
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 3
StackMap locals: int
StackMap stack:
2: ldc ""
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 4 1 name Ljava/lang/String;
1 4 2 i I
MethodParameters:
Name Flags
name
public java.util.Optional<com.sun.tools.jdeps.Module> findModule(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.nameToModule:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.jdeps.Module
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
goto 4
StackMap locals: com.sun.tools.jdeps.Module
StackMap stack:
3: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
StackMap locals:
StackMap stack: java.util.Optional
4: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 5 1 name Ljava/lang/String;
2 5 2 m Lcom/sun/tools/jdeps/Module;
Signature: (Ljava/lang/String;)Ljava/util/Optional<Lcom/sun/tools/jdeps/Module;>;
MethodParameters:
Name Flags
name
public java.util.Optional<java.lang.module.ModuleDescriptor> findModuleDescriptor(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.nameToModule:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.jdeps.Module
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokevirtual com.sun.tools.jdeps.Module.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
goto 4
StackMap locals: com.sun.tools.jdeps.Module
StackMap stack:
3: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
StackMap locals:
StackMap stack: java.util.Optional
4: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 5 1 name Ljava/lang/String;
2 5 2 m Lcom/sun/tools/jdeps/Module;
Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljava/lang/module/ModuleDescriptor;>;
MethodParameters:
Name Flags
name
public static boolean isToken(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "ALL-MODULE-PATH"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
1: ldc "ALL-DEFAULT"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
2: ldc "ALL-SYSTEM"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.util.Map<java.lang.String, java.util.Set<java.lang.String>> splitPackages();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.packageToModule:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
1: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.packageToUnnamedModule:Ljava/util/Map;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic test(Ljava/util/Map;)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
java/util/Map.containsKey(Ljava/lang/Object;)Z (9 itf)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
2: 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
3: astore 1
start local 1 4: aload 1
invokeinterface java.util.Set.isEmpty:()Z
ifeq 6
5: invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
areturn
6: StackMap locals: java.util.Set
StackMap stack:
aload 1
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
invokestatic java.util.function.Function.identity:()Ljava/util/function/Function;
aload 0
invokedynamic apply(Lcom/sun/tools/jdeps/JdepsConfiguration;)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.lambda$12(Ljava/lang/String;)Ljava/util/Set; (7)
(Ljava/lang/String;)Ljava/util/Set;
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
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
4 7 1 splitPkgs Ljava/util/Set<Ljava/lang/String;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
public java.util.Optional<com.sun.tools.jdeps.Archive> findClass(com.sun.tools.classfile.Dependency$Location);
descriptor: (Lcom/sun/tools/classfile/Dependency$Location;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.tools.classfile.Dependency$Location.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 2: iload 3
ifle 3
aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
goto 4
StackMap locals: java.lang.String int
StackMap stack:
3: ldc ""
StackMap locals:
StackMap stack: java.lang.String
4: astore 4
start local 4 5: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.packageToModule:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.jdeps.Archive
astore 5
start local 5 6: aload 5
ifnull 11
7: aload 5
new java.lang.StringBuilder
dup
aload 2
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;
invokevirtual com.sun.tools.jdeps.Archive.contains:(Ljava/lang/String;)Z
ifeq 9
8: aload 5
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
goto 10
9: StackMap locals: java.lang.String com.sun.tools.jdeps.Archive
StackMap stack:
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
10: StackMap locals:
StackMap stack: java.util.Optional
areturn
11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.packageToUnnamedModule:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 16
12: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.packageToUnnamedModule:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
13: aload 2
invokedynamic test(Ljava/lang/String;)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.lambda$15(Ljava/lang/String;Lcom/sun/tools/jdeps/Archive;)Z (6)
(Lcom/sun/tools/jdeps/Archive;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
14: invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
15: areturn
16: StackMap locals:
StackMap stack:
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
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 17 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 17 1 location Lcom/sun/tools/classfile/Dependency$Location;
1 17 2 name Ljava/lang/String;
2 17 3 i I
5 17 4 pn Ljava/lang/String;
6 17 5 archive Lcom/sun/tools/jdeps/Archive;
Signature: (Lcom/sun/tools/classfile/Dependency$Location;)Ljava/util/Optional<Lcom/sun/tools/jdeps/Archive;>;
MethodParameters:
Name Flags
location
public java.util.Map<java.lang.String, com.sun.tools.jdeps.Module> getModules();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.nameToModule:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
Signature: ()Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/jdeps/Module;>;
public java.lang.module.Configuration resolve(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)Ljava/lang/module/Configuration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Set.isEmpty:()Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "empty roots"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
invokestatic java.lang.module.Configuration.empty:()Ljava/lang/module/Configuration;
3: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.finder:Ljava/lang/module/ModuleFinder;
iconst_0
anewarray java.nio.file.Path
invokestatic java.lang.module.ModuleFinder.of:([Ljava/nio/file/Path;)Ljava/lang/module/ModuleFinder;
aload 1
invokevirtual java.lang.module.Configuration.resolve:(Ljava/lang/module/ModuleFinder;Ljava/lang/module/ModuleFinder;Ljava/util/Collection;)Ljava/lang/module/Configuration;
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 5 1 roots Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)Ljava/lang/module/Configuration;
MethodParameters:
Name Flags
roots
public java.util.List<com.sun.tools.jdeps.Archive> classPathArchives();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.classpathArchives:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
Signature: ()Ljava/util/List<Lcom/sun/tools/jdeps/Archive;>;
public java.util.List<com.sun.tools.jdeps.Archive> initialArchives();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.initialArchives:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
Signature: ()Ljava/util/List<Lcom/sun/tools/jdeps/Archive;>;
public java.util.Set<com.sun.tools.jdeps.Module> rootModules();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.rootModules:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
Signature: ()Ljava/util/Set<Lcom/sun/tools/jdeps/Module;>;
public com.sun.tools.jdeps.Module toModule(java.lang.module.ModuleReference);
descriptor: (Ljava/lang/module/ModuleReference;)Lcom/sun/tools/jdeps/Module;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual java.lang.module.ModuleReference.location:()Ljava/util/Optional;
invokedynamic get()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;
java/io/FileNotFoundException.<init>()V (8)
()Ljava/io/FileNotFoundException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.net.URI
astore 3
start local 3 2: aload 1
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
astore 4
start local 4 3: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.system:Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
aload 2
invokevirtual com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.find:(Ljava/lang/String;)Ljava/util/Optional;
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.location()Ljava/util/Optional; (5)
(Ljava/lang/module/ModuleReference;)Ljava/util/Optional;
invokevirtual java.util.Optional.flatMap:(Ljava/util/function/Function;)Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.URI
astore 5
start local 5 4: aload 3
aload 5
invokevirtual java.net.URI.equals:(Ljava/lang/Object;)Z
istore 6
start local 6 5: aload 3
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
ldc "jrt"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.system:Lcom/sun/tools/jdeps/JdepsConfiguration$SystemModuleFinder;
aload 2
invokevirtual com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder.getClassReader:(Ljava/lang/String;)Lcom/sun/tools/jdeps/ClassFileReader;
astore 7
start local 7 7: goto 9
end local 7 8: StackMap locals: com.sun.tools.jdeps.JdepsConfiguration java.lang.module.ModuleReference java.lang.String java.net.URI java.lang.module.ModuleDescriptor java.net.URI int
StackMap stack:
aload 3
invokestatic java.nio.file.Paths.get:(Ljava/net/URI;)Ljava/nio/file/Path;
aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.version:Ljava/lang/Runtime$Version;
invokestatic com.sun.tools.jdeps.ClassFileReader.newInstance:(Ljava/nio/file/Path;Ljava/lang/Runtime$Version;)Lcom/sun/tools/jdeps/ClassFileReader;
astore 7
start local 7 9: StackMap locals: com.sun.tools.jdeps.ClassFileReader
StackMap stack:
new com.sun.tools.jdeps.Module$Builder
dup
aload 4
iload 6
invokespecial com.sun.tools.jdeps.Module$Builder.<init>:(Ljava/lang/module/ModuleDescriptor;Z)V
astore 8
start local 8 10: aload 8
aload 7
invokevirtual com.sun.tools.jdeps.Module$Builder.classes:(Lcom/sun/tools/jdeps/ClassFileReader;)Lcom/sun/tools/jdeps/Module$Builder;
pop
11: aload 8
aload 3
invokevirtual com.sun.tools.jdeps.Module$Builder.location:(Ljava/net/URI;)Lcom/sun/tools/jdeps/Module$Builder;
pop
12: aload 8
invokevirtual com.sun.tools.jdeps.Module$Builder.build:()Lcom/sun/tools/jdeps/Module;
13: areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 14: StackMap locals: com.sun.tools.jdeps.JdepsConfiguration java.lang.module.ModuleReference
StackMap stack: java.io.IOException
astore 2
start local 2 15: 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 16 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 16 1 mref Ljava/lang/module/ModuleReference;
1 14 2 mn Ljava/lang/String;
2 14 3 location Ljava/net/URI;
3 14 4 md Ljava/lang/module/ModuleDescriptor;
4 14 5 loc Ljava/net/URI;
5 14 6 isSystem Z
7 8 7 reader Lcom/sun/tools/jdeps/ClassFileReader;
9 14 7 reader Lcom/sun/tools/jdeps/ClassFileReader;
10 14 8 builder Lcom/sun/tools/jdeps/Module$Builder;
15 16 2 e Ljava/io/IOException;
Exception table:
from to target type
0 13 14 Class java.io.IOException
MethodParameters:
Name Flags
mref
public java.lang.Runtime$Version getVersion();
descriptor: ()Ljava/lang/Runtime$Version;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.version:Ljava/lang/Runtime$Version;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.initialArchives:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: com.sun.tools.jdeps.JdepsConfiguration top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.jdeps.Archive
astore 1
start local 1 2: aload 1
invokevirtual com.sun.tools.jdeps.Archive.close:()V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.classpathArchives:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 7
StackMap locals:
StackMap stack:
5: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.jdeps.Archive
astore 1
start local 1 6: aload 1
invokevirtual com.sun.tools.jdeps.Archive.close:()V
end local 1 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.nameToModule:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 11
StackMap locals:
StackMap stack:
9: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.jdeps.Module
astore 1
start local 1 10: aload 1
invokevirtual com.sun.tools.jdeps.Module.close:()V
end local 1 11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
2 3 1 archive Lcom/sun/tools/jdeps/Archive;
6 7 1 archive Lcom/sun/tools/jdeps/Archive;
10 11 1 module Lcom/sun/tools/jdeps/Module;
Exceptions:
throws java.io.IOException
private void lambda$2(com.sun.tools.jdeps.Archive);
descriptor: (Lcom/sun/tools/jdeps/Archive;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.jdeps.JdepsConfiguration.addPackagesInUnnamedModule:(Lcom/sun/tools/jdeps/Archive;)V
1: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.initialArchives:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 3 1 archive Lcom/sun/tools/jdeps/Archive;
private com.sun.tools.jdeps.Module lambda$5(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/jdeps/Module;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.nameToModule:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.jdeps.Module
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.finder:Ljava/lang/module/ModuleFinder;
aload 1
invokeinterface java.lang.module.ModuleFinder.find:(Ljava/lang/String;)Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
astore 3
start local 3 3: aload 0
aload 3
invokevirtual com.sun.tools.jdeps.JdepsConfiguration.toModule:(Ljava/lang/module/ModuleReference;)Lcom/sun/tools/jdeps/Module;
astore 2
end local 3 4: StackMap locals: com.sun.tools.jdeps.Module
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 5 1 mn Ljava/lang/String;
1 5 2 m Lcom/sun/tools/jdeps/Module;
3 4 3 mref Ljava/lang/module/ModuleReference;
private void lambda$6(com.sun.tools.jdeps.Module, java.lang.String);
descriptor: (Lcom/sun/tools/jdeps/Module;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.packageToModule:Ljava/util/Map;
aload 2
aload 1
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 1 2 pn Ljava/lang/String;
private static boolean lambda$7(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 1
aload 0
ldc "module-info.class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 e Ljava/lang/String;
private void lambda$9(com.sun.tools.jdeps.Archive, java.lang.String);
descriptor: (Lcom/sun/tools/jdeps/Archive;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.packageToUnnamedModule:Ljava/util/Map;
1: aload 2
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.lambda$10(Ljava/lang/String;)Ljava/util/List; (6)
(Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.util.List
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 2 2 pn Ljava/lang/String;
private java.util.Set lambda$12(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 2
start local 2 1: aload 2
aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.packageToModule:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.jdeps.Module
invokevirtual com.sun.tools.jdeps.Module.getModule:()Lcom/sun/tools/jdeps/Module;
invokevirtual com.sun.tools.jdeps.Module.location:()Ljava/net/URI;
invokevirtual java.net.URI.toString:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield com.sun.tools.jdeps.JdepsConfiguration.packageToUnnamedModule:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.stream:()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;
com/sun/tools/jdeps/Archive.getPathName()Ljava/lang/String; (5)
(Lcom/sun/tools/jdeps/Archive;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
4: aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/util/Set;)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/util/Set.add(Ljava/lang/Object;)Z (9 itf)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/jdeps/JdepsConfiguration;
0 6 1 pn Ljava/lang/String;
1 6 2 sources Ljava/util/Set<Ljava/lang/String;>;
private static boolean lambda$15(java.lang.String, com.sun.tools.jdeps.Archive);
descriptor: (Ljava/lang/String;Lcom/sun/tools/jdeps/Archive;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: aload 1
new java.lang.StringBuilder
dup
aload 0
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;
invokevirtual com.sun.tools.jdeps.Archive.contains:(Ljava/lang/String;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 a Lcom/sun/tools/jdeps/Archive;
private static java.util.List lambda$10(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 _n Ljava/lang/String;
}
SourceFile: "JdepsConfiguration.java"
NestMembers:
com.sun.tools.jdeps.JdepsConfiguration$Builder com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder$1 com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder$2
InnerClasses:
public abstract Location = com.sun.tools.classfile.Dependency$Location of com.sun.tools.classfile.Dependency
public Builder = com.sun.tools.jdeps.JdepsConfiguration$Builder of com.sun.tools.jdeps.JdepsConfiguration
SystemModuleFinder = com.sun.tools.jdeps.JdepsConfiguration$SystemModuleFinder of com.sun.tools.jdeps.JdepsConfiguration
public final Builder = com.sun.tools.jdeps.Module$Builder of com.sun.tools.jdeps.Module
public final Version = java.lang.Runtime$Version of java.lang.Runtime
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles