public class com.sun.tools.jdeps.ModuleInfoBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.jdeps.ModuleInfoBuilder
super_class: java.lang.Object
{
final com.sun.tools.jdeps.JdepsConfiguration configuration;
descriptor: Lcom/sun/tools/jdeps/JdepsConfiguration;
flags: (0x0010) ACC_FINAL
final java.nio.file.Path outputdir;
descriptor: Ljava/nio/file/Path;
flags: (0x0010) ACC_FINAL
final boolean open;
descriptor: Z
flags: (0x0010) ACC_FINAL
final com.sun.tools.jdeps.DependencyFinder dependencyFinder;
descriptor: Lcom/sun/tools/jdeps/DependencyFinder;
flags: (0x0010) ACC_FINAL
final com.sun.tools.jdeps.Analyzer analyzer;
descriptor: Lcom/sun/tools/jdeps/Analyzer;
flags: (0x0010) ACC_FINAL
final java.util.Map<com.sun.tools.jdeps.Module, com.sun.tools.jdeps.Module> automaticToNormalModule;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Lcom/sun/tools/jdeps/Module;Lcom/sun/tools/jdeps/Module;>;
public void <init>(com.sun.tools.jdeps.JdepsConfiguration, java.util.List<java.lang.String>, java.nio.file.Path, );
descriptor: (Lcom/sun/tools/jdeps/JdepsConfiguration;Ljava/util/List;Ljava/nio/file/Path;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.tools.jdeps.ModuleInfoBuilder.configuration:Lcom/sun/tools/jdeps/JdepsConfiguration;
2: aload 0
aload 3
putfield com.sun.tools.jdeps.ModuleInfoBuilder.outputdir:Ljava/nio/file/Path;
3: aload 0
iload 4
putfield com.sun.tools.jdeps.ModuleInfoBuilder.open:Z
4: aload 0
new com.sun.tools.jdeps.DependencyFinder
dup
aload 1
getstatic com.sun.tools.jdeps.JdepsFilter.DEFAULT_FILTER:Lcom/sun/tools/jdeps/JdepsFilter;
invokespecial com.sun.tools.jdeps.DependencyFinder.<init>:(Lcom/sun/tools/jdeps/JdepsConfiguration;Lcom/sun/tools/jdeps/JdepsFilter;)V
putfield com.sun.tools.jdeps.ModuleInfoBuilder.dependencyFinder:Lcom/sun/tools/jdeps/DependencyFinder;
5: aload 0
new com.sun.tools.jdeps.Analyzer
dup
aload 1
getstatic com.sun.tools.jdeps.Analyzer$Type.CLASS:Lcom/sun/tools/jdeps/Analyzer$Type;
getstatic com.sun.tools.jdeps.JdepsFilter.DEFAULT_FILTER:Lcom/sun/tools/jdeps/JdepsFilter;
invokespecial com.sun.tools.jdeps.Analyzer.<init>:(Lcom/sun/tools/jdeps/JdepsConfiguration;Lcom/sun/tools/jdeps/Analyzer$Type;Lcom/sun/tools/jdeps/Analyzer$Filter;)V
putfield com.sun.tools.jdeps.ModuleInfoBuilder.analyzer:Lcom/sun/tools/jdeps/Analyzer;
6: aload 2
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
7: 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/ModuleInfoBuilder.lambda$0(Ljava/lang/String;)Ljava/nio/file/Path; (6)
(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
8: 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
9: astore 5
start local 5 10: aload 0
aload 5
iconst_0
anewarray java.nio.file.Path
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.nio.file.Path[]
invokestatic java.lang.module.ModuleFinder.of:([Ljava/nio/file/Path;)Ljava/lang/module/ModuleFinder;
11: invokeinterface java.lang.module.ModuleFinder.findAll:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
12: aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
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.toModule(Ljava/lang/module/ModuleReference;)Lcom/sun/tools/jdeps/Module; (5)
(Ljava/lang/module/ModuleReference;)Lcom/sun/tools/jdeps/Module;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
13: invokestatic java.util.function.Function.identity:()Ljava/util/function/Function;
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
14: putfield com.sun.tools.jdeps.ModuleInfoBuilder.automaticToNormalModule:Ljava/util/Map;
15: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.automaticToNormalModule:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
16: 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/ModuleInfoBuilder.lambda$2(Lcom/sun/tools/jdeps/Module;)Z (6)
(Lcom/sun/tools/jdeps/Module;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
17: invokeinterface java.util.stream.Stream.findAny:()Ljava/util/Optional;
18: astore 7
start local 7 19: aload 7
invokevirtual java.util.Optional.isPresent:()Z
ifeq 23
20: new com.sun.tools.jdeps.JdepsTask$UncheckedBadArgs
dup
new com.sun.tools.jdeps.JdepsTask$BadArgs
dup
ldc "err.genmoduleinfo.not.jarfile"
iconst_1
anewarray java.lang.Object
dup
iconst_0
21: aload 7
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast com.sun.tools.jdeps.Module
invokevirtual com.sun.tools.jdeps.Module.getPathName:()Ljava/lang/String;
aastore
invokespecial com.sun.tools.jdeps.JdepsTask$BadArgs.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
22: invokespecial com.sun.tools.jdeps.JdepsTask$UncheckedBadArgs.<init>:(Lcom/sun/tools/jdeps/JdepsTask$BadArgs;)V
athrow
23: StackMap locals: com.sun.tools.jdeps.ModuleInfoBuilder com.sun.tools.jdeps.JdepsConfiguration java.util.List java.nio.file.Path int java.util.List top java.util.Optional
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.automaticToNormalModule:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 25
24: new com.sun.tools.jdeps.JdepsTask$UncheckedBadArgs
dup
new com.sun.tools.jdeps.JdepsTask$BadArgs
dup
ldc "err.invalid.path"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokespecial com.sun.tools.jdeps.JdepsTask$BadArgs.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
invokespecial com.sun.tools.jdeps.JdepsTask$UncheckedBadArgs.<init>:(Lcom/sun/tools/jdeps/JdepsTask$BadArgs;)V
athrow
25: StackMap locals:
StackMap stack:
return
end local 7 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 26 0 this Lcom/sun/tools/jdeps/ModuleInfoBuilder;
0 26 1 configuration Lcom/sun/tools/jdeps/JdepsConfiguration;
0 26 2 args Ljava/util/List<Ljava/lang/String;>;
0 26 3 outputdir Ljava/nio/file/Path;
0 26 4 open Z
10 26 5 paths Ljava/util/List<Ljava/nio/file/Path;>;
19 26 7 om Ljava/util/Optional<Lcom/sun/tools/jdeps/Module;>;
Signature: (Lcom/sun/tools/jdeps/JdepsConfiguration;Ljava/util/List<Ljava/lang/String;>;Ljava/nio/file/Path;Z)V
MethodParameters:
Name Flags
configuration
args
outputdir
open
public boolean run();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.jdeps.ModuleInfoBuilder.computeRequiresTransitive:()Ljava/util/Map;
astore 1
start local 1 1: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.dependencyFinder:Lcom/sun/tools/jdeps/DependencyFinder;
aload 0
invokevirtual com.sun.tools.jdeps.ModuleInfoBuilder.automaticModules:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
invokevirtual com.sun.tools.jdeps.DependencyFinder.parse:(Ljava/util/stream/Stream;)Ljava/util/Set;
pop
2: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.analyzer:Lcom/sun/tools/jdeps/Analyzer;
aload 0
invokevirtual com.sun.tools.jdeps.ModuleInfoBuilder.automaticModules:()Ljava/util/Set;
aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.dependencyFinder:Lcom/sun/tools/jdeps/DependencyFinder;
invokevirtual com.sun.tools.jdeps.DependencyFinder.locationToArchive:()Ljava/util/Map;
invokevirtual com.sun.tools.jdeps.Analyzer.run:(Ljava/lang/Iterable;Ljava/util/Map;)Z
pop
3: iconst_0
istore 2
start local 2 4: aload 0
invokevirtual com.sun.tools.jdeps.ModuleInfoBuilder.automaticModules:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 19
StackMap locals: com.sun.tools.jdeps.ModuleInfoBuilder java.util.Map int top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.jdeps.Module
astore 3
start local 3 6: aload 1
aload 3
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 8
7: aload 1
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
goto 9
8: StackMap locals: com.sun.tools.jdeps.ModuleInfoBuilder java.util.Map int com.sun.tools.jdeps.Module java.util.Iterator
StackMap stack:
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
9: StackMap locals:
StackMap stack: java.util.Set
astore 5
start local 5 10: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.outputdir:Ljava/nio/file/Path;
aload 3
invokevirtual com.sun.tools.jdeps.Module.name:()Ljava/lang/String;
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
ldc "module-info.java"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 6
start local 6 11: aload 0
aload 3
aload 5
invokevirtual com.sun.tools.jdeps.ModuleInfoBuilder.toNormalModule:(Lcom/sun/tools/jdeps/Module;Ljava/util/Set;)Lcom/sun/tools/jdeps/Module;
astore 7
start local 7 12: aload 7
ifnull 17
13: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.automaticToNormalModule:Ljava/util/Map;
aload 3
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "writing to %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
15: aload 0
aload 6
aload 7
invokevirtual com.sun.tools.jdeps.Module.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual com.sun.tools.jdeps.ModuleInfoBuilder.writeModuleInfo:(Ljava/nio/file/Path;Ljava/lang/module/ModuleDescriptor;)V
16: goto 19
17: StackMap locals: java.util.Set java.nio.file.Path com.sun.tools.jdeps.Module
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Missing dependence: %s not generated%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
18: iconst_1
istore 2
end local 7 end local 6 end local 5 end local 3 19: StackMap locals: com.sun.tools.jdeps.ModuleInfoBuilder java.util.Map int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
20: iload 2
ifeq 21
iconst_0
goto 22
StackMap locals: com.sun.tools.jdeps.ModuleInfoBuilder java.util.Map int
StackMap stack:
21: iconst_1
StackMap locals:
StackMap stack: int
22: istore 9
23: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.dependencyFinder:Lcom/sun/tools/jdeps/DependencyFinder;
invokevirtual com.sun.tools.jdeps.DependencyFinder.shutdown:()V
24: iload 9
ireturn
end local 2 end local 1 25: StackMap locals: com.sun.tools.jdeps.ModuleInfoBuilder
StackMap stack: java.lang.Throwable
astore 8
26: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.dependencyFinder:Lcom/sun/tools/jdeps/DependencyFinder;
invokevirtual com.sun.tools.jdeps.DependencyFinder.shutdown:()V
27: aload 8
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/sun/tools/jdeps/ModuleInfoBuilder;
1 25 1 requiresTransitive Ljava/util/Map<Lcom/sun/tools/jdeps/Archive;Ljava/util/Set<Lcom/sun/tools/jdeps/Archive;>;>;
4 25 2 missingDeps Z
6 19 3 m Lcom/sun/tools/jdeps/Module;
10 19 5 apiDeps Ljava/util/Set<Lcom/sun/tools/jdeps/Archive;>;
11 19 6 file Ljava/nio/file/Path;
12 19 7 normalModule Lcom/sun/tools/jdeps/Module;
Exception table:
from to target type
0 23 25 any
Exceptions:
throws java.io.IOException
private com.sun.tools.jdeps.Module toNormalModule(com.sun.tools.jdeps.Module, java.util.Set<com.sun.tools.jdeps.Archive>);
descriptor: (Lcom/sun/tools/jdeps/Module;Ljava/util/Set;)Lcom/sun/tools/jdeps/Module;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.sun.tools.jdeps.Module.close:()V
1: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.analyzer:Lcom/sun/tools/jdeps/Analyzer;
aload 1
invokevirtual com.sun.tools.jdeps.Analyzer.requires:(Lcom/sun/tools/jdeps/Archive;)Ljava/util/stream/Stream;
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/Analyzer.notFound(Lcom/sun/tools/jdeps/Archive;)Z (6)
(Lcom/sun/tools/jdeps/Archive;)Z
invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
ifeq 3
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 4: aload 2
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
5: 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.getModule()Lcom/sun/tools/jdeps/Module; (5)
(Lcom/sun/tools/jdeps/Archive;)Lcom/sun/tools/jdeps/Module;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
6: aload 3
invokedynamic accept(Ljava/util/Map;)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/ModuleInfoBuilder.lambda$5(Ljava/util/Map;Lcom/sun/tools/jdeps/Module;)V (6)
(Lcom/sun/tools/jdeps/Module;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
7: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.analyzer:Lcom/sun/tools/jdeps/Analyzer;
aload 1
invokevirtual com.sun.tools.jdeps.Analyzer.requires:(Lcom/sun/tools/jdeps/Archive;)Ljava/util/stream/Stream;
8: 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.getModule()Lcom/sun/tools/jdeps/Module; (5)
(Lcom/sun/tools/jdeps/Archive;)Lcom/sun/tools/jdeps/Module;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
9: aload 3
invokedynamic accept(Ljava/util/Map;)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/ModuleInfoBuilder.lambda$7(Ljava/util/Map;Lcom/sun/tools/jdeps/Module;)V (6)
(Lcom/sun/tools/jdeps/Module;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
10: aload 1
aload 3
invokevirtual com.sun.tools.jdeps.Module.toNormalModule:(Ljava/util/Map;)Lcom/sun/tools/jdeps/Module;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/jdeps/ModuleInfoBuilder;
0 11 1 module Lcom/sun/tools/jdeps/Module;
0 11 2 requiresTransitive Ljava/util/Set<Lcom/sun/tools/jdeps/Archive;>;
4 11 3 requires Ljava/util/Map<Ljava/lang/String;Ljava/lang/Boolean;>;
Exceptions:
throws java.io.IOException
Signature: (Lcom/sun/tools/jdeps/Module;Ljava/util/Set<Lcom/sun/tools/jdeps/Archive;>;)Lcom/sun/tools/jdeps/Module;
MethodParameters:
Name Flags
module
requiresTransitive
java.util.stream.Stream<com.sun.tools.jdeps.Module> modules();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.automaticToNormalModule:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/ModuleInfoBuilder;
Signature: ()Ljava/util/stream/Stream<Lcom/sun/tools/jdeps/Module;>;
public java.util.stream.Stream<java.lang.module.ModuleDescriptor> descriptors();
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.ModuleInfoBuilder.automaticToNormalModule:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.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/util/Map$Entry.getValue()Ljava/lang/Object; (9 itf)
(Ljava/util/Map$Entry;)Lcom/sun/tools/jdeps/Module;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
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/Module.descriptor()Ljava/lang/module/ModuleDescriptor; (5)
(Lcom/sun/tools/jdeps/Module;)Ljava/lang/module/ModuleDescriptor;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeps/ModuleInfoBuilder;
Signature: ()Ljava/util/stream/Stream<Ljava/lang/module/ModuleDescriptor;>;
void visitMissingDeps(com.sun.tools.jdeps.Analyzer$Visitor);
descriptor: (Lcom/sun/tools/jdeps/Analyzer$Visitor;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.jdeps.ModuleInfoBuilder.automaticModules:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
1: aload 0
invokedynamic test(Lcom/sun/tools/jdeps/ModuleInfoBuilder;)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/ModuleInfoBuilder.lambda$10(Lcom/sun/tools/jdeps/Module;)Z (7)
(Lcom/sun/tools/jdeps/Module;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
2: aload 0
aload 1
invokedynamic accept(Lcom/sun/tools/jdeps/ModuleInfoBuilder;Lcom/sun/tools/jdeps/Analyzer$Visitor;)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/ModuleInfoBuilder.lambda$12(Lcom/sun/tools/jdeps/Analyzer$Visitor;Lcom/sun/tools/jdeps/Module;)V (7)
(Lcom/sun/tools/jdeps/Module;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeps/ModuleInfoBuilder;
0 4 1 visitor Lcom/sun/tools/jdeps/Analyzer$Visitor;
MethodParameters:
Name Flags
visitor
void writeModuleInfo(java.nio.file.Path, java.lang.module.ModuleDescriptor);
descriptor: (Ljava/nio/file/Path;Ljava/lang/module/ModuleDescriptor;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.attribute.FileAttribute
invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
pop
1: aconst_null
astore 3
aconst_null
astore 4
2: new java.io.PrintWriter
dup
aload 1
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newOutputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
astore 5
start local 5 3: aload 0
aload 5
aload 2
invokevirtual com.sun.tools.jdeps.ModuleInfoBuilder.printModuleInfo:(Ljava/io/PrintWriter;Ljava/lang/module/ModuleDescriptor;)V
4: aload 5
ifnull 12
aload 5
invokevirtual java.io.PrintWriter.close:()V
goto 12
StackMap locals: com.sun.tools.jdeps.ModuleInfoBuilder java.nio.file.Path java.lang.module.ModuleDescriptor java.lang.Throwable java.lang.Throwable java.io.PrintWriter
StackMap stack: java.lang.Throwable
5: astore 3
aload 5
ifnull 6
aload 5
invokevirtual java.io.PrintWriter.close:()V
end local 5 StackMap locals:
StackMap stack:
6: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 4
aload 3
ifnonnull 8
aload 4
astore 3
goto 9
StackMap locals:
StackMap stack:
8: aload 3
aload 4
if_acmpeq 9
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 3
athrow
10: StackMap locals: com.sun.tools.jdeps.ModuleInfoBuilder java.nio.file.Path java.lang.module.ModuleDescriptor
StackMap stack: java.io.IOException
astore 3
start local 3 11: new java.io.UncheckedIOException
dup
aload 3
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/jdeps/ModuleInfoBuilder;
0 13 1 file Ljava/nio/file/Path;
0 13 2 md Ljava/lang/module/ModuleDescriptor;
3 6 5 pw Ljava/io/PrintWriter;
11 12 3 e Ljava/io/IOException;
Exception table:
from to target type
3 4 5 any
2 7 7 any
0 10 10 Class java.io.IOException
MethodParameters:
Name Flags
file
md
private void printModuleInfo(java.io.PrintWriter, java.lang.module.ModuleDescriptor);
descriptor: (Ljava/io/PrintWriter;Ljava/lang/module/ModuleDescriptor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "%smodule %s {%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.open:Z
ifeq 1
ldc "open "
goto 2
StackMap locals: com.sun.tools.jdeps.ModuleInfoBuilder java.io.PrintWriter java.lang.module.ModuleDescriptor
StackMap stack: java.io.PrintWriter java.lang.String java.lang.Object[] java.lang.Object[] int
1: ldc ""
StackMap locals: com.sun.tools.jdeps.ModuleInfoBuilder java.io.PrintWriter java.lang.module.ModuleDescriptor
StackMap stack: java.io.PrintWriter java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
2: aastore
dup
iconst_1
aload 2
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
aastore
invokevirtual java.io.PrintWriter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
3: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.configuration:Lcom/sun/tools/jdeps/JdepsConfiguration;
invokevirtual com.sun.tools.jdeps.JdepsConfiguration.getModules:()Ljava/util/Map;
pop
4: aload 2
invokevirtual java.lang.module.ModuleDescriptor.requires:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
5: 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/ModuleInfoBuilder.lambda$14(Ljava/lang/module/ModuleDescriptor$Requires;)Z (6)
(Ljava/lang/module/ModuleDescriptor$Requires;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
6: 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
7: astore 3
start local 3 8: aload 3
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;
java/lang/module/ModuleDescriptor$Requires.name()Ljava/lang/String; (5)
(Ljava/lang/module/ModuleDescriptor$Requires;)Ljava/lang/String;
invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
10: aload 1
invokedynamic accept(Ljava/io/PrintWriter;)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/ModuleInfoBuilder.lambda$16(Ljava/io/PrintWriter;Ljava/lang/module/ModuleDescriptor$Requires;)V (6)
(Ljava/lang/module/ModuleDescriptor$Requires;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
11: aload 3
invokeinterface java.util.Set.isEmpty:()Z
ifne 13
12: aload 1
invokevirtual java.io.PrintWriter.println:()V
13: StackMap locals: java.util.Set
StackMap stack:
aload 2
invokevirtual java.lang.module.ModuleDescriptor.requires:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
14: 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/ModuleInfoBuilder.lambda$17(Ljava/lang/module/ModuleDescriptor$Requires;)Z (6)
(Ljava/lang/module/ModuleDescriptor$Requires;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
15: 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
16: astore 3
17: aload 3
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
18: 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$Requires.name()Ljava/lang/String; (5)
(Ljava/lang/module/ModuleDescriptor$Requires;)Ljava/lang/String;
invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
19: aload 1
invokedynamic accept(Ljava/io/PrintWriter;)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/ModuleInfoBuilder.lambda$19(Ljava/io/PrintWriter;Ljava/lang/module/ModuleDescriptor$Requires;)V (6)
(Ljava/lang/module/ModuleDescriptor$Requires;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
20: aload 3
invokeinterface java.util.Set.isEmpty:()Z
ifne 22
21: aload 1
invokevirtual java.io.PrintWriter.println:()V
22: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.open:Z
ifne 29
23: aload 2
invokevirtual java.lang.module.ModuleDescriptor.exports:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
24: aload 2
invokedynamic accept(Ljava/lang/module/ModuleDescriptor;)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/ModuleInfoBuilder.lambda$20(Ljava/lang/module/ModuleDescriptor;Ljava/lang/module/ModuleDescriptor$Exports;)V (6)
(Ljava/lang/module/ModuleDescriptor$Exports;)V
invokeinterface java.util.stream.Stream.peek:(Ljava/util/function/Consumer;)Ljava/util/stream/Stream;
25: 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$Exports.source()Ljava/lang/String; (5)
(Ljava/lang/module/ModuleDescriptor$Exports;)Ljava/lang/String;
invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
26: aload 1
invokedynamic accept(Ljava/io/PrintWriter;)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/ModuleInfoBuilder.lambda$22(Ljava/io/PrintWriter;Ljava/lang/module/ModuleDescriptor$Exports;)V (6)
(Ljava/lang/module/ModuleDescriptor$Exports;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
27: aload 2
invokevirtual java.lang.module.ModuleDescriptor.exports:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 29
28: aload 1
invokevirtual java.io.PrintWriter.println:()V
29: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.module.ModuleDescriptor.provides:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
30: 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$Provides.service()Ljava/lang/String; (5)
(Ljava/lang/module/ModuleDescriptor$Provides;)Ljava/lang/String;
invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
31: 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/ModuleInfoBuilder.lambda$24(Ljava/lang/module/ModuleDescriptor$Provides;)Ljava/lang/String; (6)
(Ljava/lang/module/ModuleDescriptor$Provides;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
32: aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/io/PrintWriter;)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/io/PrintWriter.println(Ljava/lang/String;)V (5)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
33: aload 2
invokevirtual java.lang.module.ModuleDescriptor.provides:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 35
34: aload 1
invokevirtual java.io.PrintWriter.println:()V
35: StackMap locals:
StackMap stack:
aload 1
ldc "}"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
36: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lcom/sun/tools/jdeps/ModuleInfoBuilder;
0 37 1 writer Ljava/io/PrintWriter;
0 37 2 md Ljava/lang/module/ModuleDescriptor;
8 37 3 reqs Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Requires;>;
MethodParameters:
Name Flags
writer
md
private java.util.Set<com.sun.tools.jdeps.Module> automaticModules();
descriptor: ()Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.automaticToNormalModule:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/ModuleInfoBuilder;
Signature: ()Ljava/util/Set<Lcom/sun/tools/jdeps/Module;>;
private static <M> java.lang.String toString(java.util.Set<M>, java.lang.String);
descriptor: (Ljava/util/Set;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
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/ModuleInfoBuilder.lambda$27(Ljava/lang/Object;)Ljava/lang/String; (6)
(Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
1: aload 1
invokestatic java.util.stream.Stream.of:(Ljava/lang/Object;)Ljava/util/stream/Stream;
2: invokestatic java.util.stream.Stream.concat:(Ljava/util/stream/Stream;Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
3: ldc " "
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 mods Ljava/util/Set<TM;>;
0 5 1 what Ljava/lang/String;
Signature: <M:Ljava/lang/Object;>(Ljava/util/Set<TM;>;Ljava/lang/String;)Ljava/lang/String;
MethodParameters:
Name Flags
mods
what
private java.util.Map<com.sun.tools.jdeps.Archive, java.util.Set<com.sun.tools.jdeps.Archive>> computeRequiresTransitive();
descriptor: ()Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.dependencyFinder:Lcom/sun/tools/jdeps/DependencyFinder;
aload 0
invokevirtual com.sun.tools.jdeps.ModuleInfoBuilder.automaticModules:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
invokevirtual com.sun.tools.jdeps.DependencyFinder.parseExportedAPIs:(Ljava/util/stream/Stream;)Ljava/util/Set;
pop
1: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.dependencyFinder:Lcom/sun/tools/jdeps/DependencyFinder;
invokevirtual com.sun.tools.jdeps.DependencyFinder.dependences:()Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/ModuleInfoBuilder;
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/Map<Lcom/sun/tools/jdeps/Archive;Ljava/util/Set<Lcom/sun/tools/jdeps/Archive;>;>;
private static java.nio.file.Path lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fn Ljava/lang/String;
private static boolean lambda$2(com.sun.tools.jdeps.Module);
descriptor: (Lcom/sun/tools/jdeps/Module;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.jdeps.Module.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()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 m Lcom/sun/tools/jdeps/Module;
private static void lambda$5(java.util.Map, com.sun.tools.jdeps.Module);
descriptor: (Ljava/util/Map;Lcom/sun/tools/jdeps/Module;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.jdeps.Module.name:()Ljava/lang/String;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 m Lcom/sun/tools/jdeps/Module;
private static void lambda$7(java.util.Map, com.sun.tools.jdeps.Module);
descriptor: (Ljava/util/Map;Lcom/sun/tools/jdeps/Module;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.jdeps.Module.name:()Ljava/lang/String;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 d Lcom/sun/tools/jdeps/Module;
private boolean lambda$10(com.sun.tools.jdeps.Module);
descriptor: (Lcom/sun/tools/jdeps/Module;)Z
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.analyzer:Lcom/sun/tools/jdeps/Analyzer;
aload 1
invokevirtual com.sun.tools.jdeps.Analyzer.requires:(Lcom/sun/tools/jdeps/Archive;)Ljava/util/stream/Stream;
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/Analyzer.notFound(Lcom/sun/tools/jdeps/Archive;)Z (6)
(Lcom/sun/tools/jdeps/Archive;)Z
invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/ModuleInfoBuilder;
0 1 1 m Lcom/sun/tools/jdeps/Module;
private void lambda$12(com.sun.tools.jdeps.Analyzer$Visitor, com.sun.tools.jdeps.Module);
descriptor: (Lcom/sun/tools/jdeps/Analyzer$Visitor;Lcom/sun/tools/jdeps/Module;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield com.sun.tools.jdeps.ModuleInfoBuilder.analyzer:Lcom/sun/tools/jdeps/Analyzer;
aload 2
aload 1
getstatic com.sun.tools.jdeps.Analyzer$Type.VERBOSE:Lcom/sun/tools/jdeps/Analyzer$Type;
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/Analyzer.notFound(Lcom/sun/tools/jdeps/Archive;)Z (6)
(Lcom/sun/tools/jdeps/Archive;)Z
invokevirtual com.sun.tools.jdeps.Analyzer.visitDependences:(Lcom/sun/tools/jdeps/Archive;Lcom/sun/tools/jdeps/Analyzer$Visitor;Lcom/sun/tools/jdeps/Analyzer$Type;Ljava/util/function/Predicate;)V
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/ModuleInfoBuilder;
0 2 2 m Lcom/sun/tools/jdeps/Module;
private static boolean lambda$14(java.lang.module.ModuleDescriptor$Requires);
descriptor: (Ljava/lang/module/ModuleDescriptor$Requires;)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$Requires.name:()Ljava/lang/String;
ldc "java.base"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
aload 0
invokevirtual java.lang.module.ModuleDescriptor$Requires.modifiers:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 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 req Ljava/lang/module/ModuleDescriptor$Requires;
private static void lambda$16(java.io.PrintWriter, java.lang.module.ModuleDescriptor$Requires);
descriptor: (Ljava/io/PrintWriter;Ljava/lang/module/ModuleDescriptor$Requires;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=2, args_size=2
start local 1 0: aload 0
ldc " requires %s;%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
1: aload 1
invokevirtual java.lang.module.ModuleDescriptor$Requires.modifiers:()Ljava/util/Set;
aload 1
invokevirtual java.lang.module.ModuleDescriptor$Requires.name:()Ljava/lang/String;
invokestatic com.sun.tools.jdeps.ModuleInfoBuilder.toString:(Ljava/util/Set;Ljava/lang/String;)Ljava/lang/String;
aastore
2: invokevirtual java.io.PrintWriter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
3: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 req Ljava/lang/module/ModuleDescriptor$Requires;
private static boolean lambda$17(java.lang.module.ModuleDescriptor$Requires);
descriptor: (Ljava/lang/module/ModuleDescriptor$Requires;)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$Requires.name:()Ljava/lang/String;
ldc "java.base"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
aload 0
invokevirtual java.lang.module.ModuleDescriptor$Requires.modifiers:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()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 req Ljava/lang/module/ModuleDescriptor$Requires;
private static void lambda$19(java.io.PrintWriter, java.lang.module.ModuleDescriptor$Requires);
descriptor: (Ljava/io/PrintWriter;Ljava/lang/module/ModuleDescriptor$Requires;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=2, args_size=2
start local 1 0: aload 0
ldc " requires %s;%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
1: aload 1
invokevirtual java.lang.module.ModuleDescriptor$Requires.modifiers:()Ljava/util/Set;
aload 1
invokevirtual java.lang.module.ModuleDescriptor$Requires.name:()Ljava/lang/String;
invokestatic com.sun.tools.jdeps.ModuleInfoBuilder.toString:(Ljava/util/Set;Ljava/lang/String;)Ljava/lang/String;
aastore
2: invokevirtual java.io.PrintWriter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
3: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 req Ljava/lang/module/ModuleDescriptor$Requires;
private static void lambda$20(java.lang.module.ModuleDescriptor, java.lang.module.ModuleDescriptor$Exports);
descriptor: (Ljava/lang/module/ModuleDescriptor;Ljava/lang/module/ModuleDescriptor$Exports;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
start local 1 0: aload 1
invokevirtual java.lang.module.ModuleDescriptor$Exports.isQualified:()Z
ifeq 2
1: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " qualified exports: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 exp Ljava/lang/module/ModuleDescriptor$Exports;
private static void lambda$22(java.io.PrintWriter, java.lang.module.ModuleDescriptor$Exports);
descriptor: (Ljava/io/PrintWriter;Ljava/lang/module/ModuleDescriptor$Exports;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=2, args_size=2
start local 1 0: aload 0
ldc " exports %s;%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual java.lang.module.ModuleDescriptor$Exports.source:()Ljava/lang/String;
aastore
invokevirtual java.io.PrintWriter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 exp Ljava/lang/module/ModuleDescriptor$Exports;
private static java.lang.String lambda$24(java.lang.module.ModuleDescriptor$Provides);
descriptor: (Ljava/lang/module/ModuleDescriptor$Provides;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.module.ModuleDescriptor$Provides.providers:()Ljava/util/List;
invokeinterface java.util.List.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/ModuleInfoBuilder.lambda$25(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: ldc ",\n"
3: ldc " provides %s with%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
4: aload 0
invokevirtual java.lang.module.ModuleDescriptor$Provides.service:()Ljava/lang/String;
bipush 36
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
6: ldc ";"
7: 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;
checkcast java.lang.String
8: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 p Ljava/lang/module/ModuleDescriptor$Provides;
private static java.lang.String lambda$27(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
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.Object.toString:()Ljava/lang/String;
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e TM;
private static java.lang.String lambda$25(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
bipush 36
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 impl Ljava/lang/String;
}
SourceFile: "ModuleInfoBuilder.java"
InnerClasses:
public abstract Location = com.sun.tools.classfile.Dependency$Location of com.sun.tools.classfile.Dependency
abstract Filter = com.sun.tools.jdeps.Analyzer$Filter of com.sun.tools.jdeps.Analyzer
public final Type = com.sun.tools.jdeps.Analyzer$Type of com.sun.tools.jdeps.Analyzer
abstract Visitor = com.sun.tools.jdeps.Analyzer$Visitor of com.sun.tools.jdeps.Analyzer
BadArgs = com.sun.tools.jdeps.JdepsTask$BadArgs of com.sun.tools.jdeps.JdepsTask
UncheckedBadArgs = com.sun.tools.jdeps.JdepsTask$UncheckedBadArgs of com.sun.tools.jdeps.JdepsTask
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Exports = java.lang.module.ModuleDescriptor$Exports 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
public final Modifier = java.lang.module.ModuleDescriptor$Requires$Modifier of java.lang.module.ModuleDescriptor$Requires
public abstract Entry = java.util.Map$Entry of java.util.Map