public class com.sun.tools.jdeps.ModuleGraphBuilder extends com.sun.tools.jdeps.Graph$Builder<com.sun.tools.jdeps.Module>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.jdeps.ModuleGraphBuilder
super_class: com.sun.tools.jdeps.Graph$Builder
{
final com.sun.tools.jdeps.JdepsConfiguration config;
descriptor: Lcom/sun/tools/jdeps/JdepsConfiguration;
flags: (0x0010) ACC_FINAL
void <init>(com.sun.tools.jdeps.JdepsConfiguration);
descriptor: (Lcom/sun/tools/jdeps/JdepsConfiguration;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.tools.jdeps.Graph$Builder.<init>:()V
1: aload 0
aload 1
putfield com.sun.tools.jdeps.ModuleGraphBuilder.config:Lcom/sun/tools/jdeps/JdepsConfiguration;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/jdeps/ModuleGraphBuilder;
0 3 1 config Lcom/sun/tools/jdeps/JdepsConfiguration;
MethodParameters:
Name Flags
config
com.sun.tools.jdeps.ModuleGraphBuilder addModule(com.sun.tools.jdeps.Module);
descriptor: (Lcom/sun/tools/jdeps/Module;)Lcom/sun/tools/jdeps/ModuleGraphBuilder;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.jdeps.ModuleGraphBuilder.addNode:(Ljava/lang/Object;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/ModuleGraphBuilder;
0 2 1 module Lcom/sun/tools/jdeps/Module;
MethodParameters:
Name Flags
module
public com.sun.tools.jdeps.Graph<com.sun.tools.jdeps.Module> reduced();
descriptor: ()Lcom/sun/tools/jdeps/Graph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.jdeps.ModuleGraphBuilder.build:()Lcom/sun/tools/jdeps/Graph;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual com.sun.tools.jdeps.Graph.edges:()Ljava/util/Map;
invokevirtual com.sun.tools.jdeps.ModuleGraphBuilder.buildGraph:(Ljava/util/Map;)Lcom/sun/tools/jdeps/Graph;
invokevirtual com.sun.tools.jdeps.Graph.reduce:()Lcom/sun/tools/jdeps/Graph;
astore 2
start local 2 2: getstatic com.sun.tools.jdeps.Module.DEBUG:Z
ifeq 8
3: new java.io.PrintWriter
dup
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
astore 3
start local 3 4: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "before transitive reduction: "
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: aload 1
aload 3
invokevirtual com.sun.tools.jdeps.Graph.printGraph:(Ljava/io/PrintWriter;)V
6: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "after transitive reduction: "
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: aload 2
aload 3
invokevirtual com.sun.tools.jdeps.Graph.printGraph:(Ljava/io/PrintWriter;)V
end local 3 8: StackMap locals: com.sun.tools.jdeps.Graph com.sun.tools.jdeps.Graph
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/jdeps/ModuleGraphBuilder;
1 9 1 graph Lcom/sun/tools/jdeps/Graph<Lcom/sun/tools/jdeps/Module;>;
2 9 2 newGraph Lcom/sun/tools/jdeps/Graph<Lcom/sun/tools/jdeps/Module;>;
4 8 3 log Ljava/io/PrintWriter;
Signature: ()Lcom/sun/tools/jdeps/Graph<Lcom/sun/tools/jdeps/Module;>;
public com.sun.tools.jdeps.Graph<com.sun.tools.jdeps.Module> buildGraph();
descriptor: ()Lcom/sun/tools/jdeps/Graph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.jdeps.ModuleGraphBuilder.build:()Lcom/sun/tools/jdeps/Graph;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual com.sun.tools.jdeps.Graph.edges:()Ljava/util/Map;
invokevirtual com.sun.tools.jdeps.ModuleGraphBuilder.buildGraph:(Ljava/util/Map;)Lcom/sun/tools/jdeps/Graph;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/ModuleGraphBuilder;
1 2 1 graph Lcom/sun/tools/jdeps/Graph<Lcom/sun/tools/jdeps/Module;>;
Signature: ()Lcom/sun/tools/jdeps/Graph<Lcom/sun/tools/jdeps/Module;>;
private com.sun.tools.jdeps.Graph<com.sun.tools.jdeps.Module> buildGraph(java.util.Map<com.sun.tools.jdeps.Module, java.util.Set<com.sun.tools.jdeps.Module>>);
descriptor: (Ljava/util/Map;)Lcom/sun/tools/jdeps/Graph;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: new com.sun.tools.jdeps.Graph$Builder
dup
invokespecial com.sun.tools.jdeps.Graph$Builder.<init>:()V
astore 2
start local 2 1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
start local 3 2: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 4
start local 4 3: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
aload 4
aload 2
invokedynamic accept(Ljava/util/Deque;Lcom/sun/tools/jdeps/Graph$Builder;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/sun/tools/jdeps/ModuleGraphBuilder.lambda$0(Ljava/util/Deque;Lcom/sun/tools/jdeps/Graph$Builder;Ljava/util/Map$Entry;)V (6)
(Ljava/util/Map$Entry;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
4: goto 11
start local 5 5: StackMap locals: com.sun.tools.jdeps.ModuleGraphBuilder java.util.Map com.sun.tools.jdeps.Graph$Builder java.util.Set java.util.Deque com.sun.tools.jdeps.Module
StackMap stack:
aload 3
aload 5
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 7
6: goto 11
7: StackMap locals:
StackMap stack:
aload 3
aload 5
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: aload 2
aload 5
invokevirtual com.sun.tools.jdeps.Graph$Builder.addNode:(Ljava/lang/Object;)V
9: aload 5
astore 6
start local 6 10: aload 0
aload 6
invokevirtual com.sun.tools.jdeps.ModuleGraphBuilder.requiresTransitive:(Lcom/sun/tools/jdeps/Module;)Ljava/util/stream/Stream;
aload 4
aload 2
aload 6
invokedynamic accept(Ljava/util/Deque;Lcom/sun/tools/jdeps/Graph$Builder;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/ModuleGraphBuilder.lambda$2(Ljava/util/Deque;Lcom/sun/tools/jdeps/Graph$Builder;Lcom/sun/tools/jdeps/Module;Lcom/sun/tools/jdeps/Module;)V (6)
(Lcom/sun/tools/jdeps/Module;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
end local 6 end local 5 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Deque.poll:()Ljava/lang/Object;
checkcast com.sun.tools.jdeps.Module
dup
astore 5
start local 5 12: ifnonnull 5
13: aload 2
invokevirtual com.sun.tools.jdeps.Graph$Builder.build:()Lcom/sun/tools/jdeps/Graph;
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 14 0 this Lcom/sun/tools/jdeps/ModuleGraphBuilder;
0 14 1 edges Ljava/util/Map<Lcom/sun/tools/jdeps/Module;Ljava/util/Set<Lcom/sun/tools/jdeps/Module;>;>;
1 14 2 builder Lcom/sun/tools/jdeps/Graph$Builder<Lcom/sun/tools/jdeps/Module;>;
2 14 3 visited Ljava/util/Set<Lcom/sun/tools/jdeps/Module;>;
3 14 4 deque Ljava/util/Deque<Lcom/sun/tools/jdeps/Module;>;
5 11 5 source Lcom/sun/tools/jdeps/Module;
12 14 5 source Lcom/sun/tools/jdeps/Module;
10 11 6 from Lcom/sun/tools/jdeps/Module;
Signature: (Ljava/util/Map<Lcom/sun/tools/jdeps/Module;Ljava/util/Set<Lcom/sun/tools/jdeps/Module;>;>;)Lcom/sun/tools/jdeps/Graph<Lcom/sun/tools/jdeps/Module;>;
MethodParameters:
Name Flags
edges
public java.util.stream.Stream<com.sun.tools.jdeps.Module> requiresTransitive(com.sun.tools.jdeps.Module);
descriptor: (Lcom/sun/tools/jdeps/Module;)Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.tools.jdeps.Module.descriptor:()Ljava/lang/module/ModuleDescriptor;
1: invokevirtual java.lang.module.ModuleDescriptor.requires:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
2: invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
com/sun/tools/jdeps/ModuleGraphBuilder.lambda$3(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;
3: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/lang/module/ModuleDescriptor$Requires.name()Ljava/lang/String; (5)
(Ljava/lang/module/ModuleDescriptor$Requires;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
4: aload 0
getfield com.sun.tools.jdeps.ModuleGraphBuilder.config:Lcom/sun/tools/jdeps/JdepsConfiguration;
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.findModule(Ljava/lang/String;)Ljava/util/Optional; (5)
(Ljava/lang/String;)Ljava/util/Optional;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)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;
java/util/Optional.stream()Ljava/util/stream/Stream; (5)
(Ljava/util/Optional;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
6: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/jdeps/ModuleGraphBuilder;
0 7 1 m Lcom/sun/tools/jdeps/Module;
Signature: (Lcom/sun/tools/jdeps/Module;)Ljava/util/stream/Stream<Lcom/sun/tools/jdeps/Module;>;
MethodParameters:
Name Flags
m
public void addNode(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.sun.tools.jdeps.Graph$Builder.addNode:(Ljava/lang/Object;)V
return
LocalVariableTable:
Start End Slot Name Signature
public com.sun.tools.jdeps.Graph build();
descriptor: ()Lcom/sun/tools/jdeps/Graph;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.sun.tools.jdeps.Graph$Builder.build:()Lcom/sun/tools/jdeps/Graph;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void addEdge(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokespecial com.sun.tools.jdeps.Graph$Builder.addEdge:(Ljava/lang/Object;Ljava/lang/Object;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void addNodes(java.util.Set);
descriptor: (Ljava/util/Set;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.sun.tools.jdeps.Graph$Builder.addNodes:(Ljava/util/Set;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$0(java.util.Deque, com.sun.tools.jdeps.Graph$Builder, java.util.Map$Entry);
descriptor: (Ljava/util/Deque;Lcom/sun/tools/jdeps/Graph$Builder;Ljava/util/Map$Entry;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
start local 2 0: aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast com.sun.tools.jdeps.Module
astore 3
start local 3 1: aload 0
aload 3
invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
pop
2: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Set
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
aload 0
aload 1
aload 3
invokedynamic accept(Ljava/util/Deque;Lcom/sun/tools/jdeps/Graph$Builder;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/ModuleGraphBuilder.lambda$1(Ljava/util/Deque;Lcom/sun/tools/jdeps/Graph$Builder;Lcom/sun/tools/jdeps/Module;Lcom/sun/tools/jdeps/Module;)V (6)
(Lcom/sun/tools/jdeps/Module;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
end local 3 3: return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 4 2 e Ljava/util/Map$Entry<Lcom/sun/tools/jdeps/Module;Ljava/util/Set<Lcom/sun/tools/jdeps/Module;>;>;
1 3 3 m Lcom/sun/tools/jdeps/Module;
private static void lambda$2(java.util.Deque, com.sun.tools.jdeps.Graph$Builder, com.sun.tools.jdeps.Module, com.sun.tools.jdeps.Module);
descriptor: (Ljava/util/Deque;Lcom/sun/tools/jdeps/Graph$Builder;Lcom/sun/tools/jdeps/Module;Lcom/sun/tools/jdeps/Module;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=4
start local 3 0: aload 0
aload 3
invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
pop
1: aload 1
aload 2
aload 3
invokevirtual com.sun.tools.jdeps.Graph$Builder.addEdge:(Ljava/lang/Object;Ljava/lang/Object;)V
2: return
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 3 3 m Lcom/sun/tools/jdeps/Module;
private static boolean lambda$3(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.modifiers:()Ljava/util/Set;
getstatic java.lang.module.ModuleDescriptor$Requires$Modifier.TRANSITIVE:Ljava/lang/module/ModuleDescriptor$Requires$Modifier;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 req Ljava/lang/module/ModuleDescriptor$Requires;
private static void lambda$1(java.util.Deque, com.sun.tools.jdeps.Graph$Builder, com.sun.tools.jdeps.Module, com.sun.tools.jdeps.Module);
descriptor: (Ljava/util/Deque;Lcom/sun/tools/jdeps/Graph$Builder;Lcom/sun/tools/jdeps/Module;Lcom/sun/tools/jdeps/Module;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=4
start local 3 0: aload 0
aload 3
invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
pop
1: aload 1
aload 2
aload 3
invokevirtual com.sun.tools.jdeps.Graph$Builder.addEdge:(Ljava/lang/Object;Ljava/lang/Object;)V
2: return
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 3 3 v Lcom/sun/tools/jdeps/Module;
}
Signature: Lcom/sun/tools/jdeps/Graph$Builder<Lcom/sun/tools/jdeps/Module;>;
SourceFile: "ModuleGraphBuilder.java"
InnerClasses:
Builder = com.sun.tools.jdeps.Graph$Builder of com.sun.tools.jdeps.Graph
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
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