class jdk.internal.module.ModuleHashesBuilder$Graph$Builder<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.module.ModuleHashesBuilder$Graph$Builder
super_class: java.lang.Object
{
final java.util.Set<T> nodes;
descriptor: Ljava/util/Set;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Set<TT;>;
final java.util.Map<T, java.util.Set<T>> edges;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<TT;Ljava/util/Set<TT;>;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.internal.module.ModuleHashesBuilder$Graph$Builder.nodes:Ljava/util/Set;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.internal.module.ModuleHashesBuilder$Graph$Builder.edges:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/module/ModuleHashesBuilder$Graph$Builder<TT;>;
public void addNode();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.module.ModuleHashesBuilder$Graph$Builder.nodes:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.module.ModuleHashesBuilder$Graph$Builder.nodes:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield jdk.internal.module.ModuleHashesBuilder$Graph$Builder.edges:Ljava/util/Map;
aload 1
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/internal/module/ModuleHashesBuilder$Graph$Builder.lambda$0(Ljava/lang/Object;)Ljava/util/Set; (6)
(Ljava/lang/Object;)Ljava/util/Set;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/module/ModuleHashesBuilder$Graph$Builder<TT;>;
0 5 1 node TT;
Signature: (TT;)V
MethodParameters:
Name Flags
node
public void addEdge(T, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.internal.module.ModuleHashesBuilder$Graph$Builder.addNode:(Ljava/lang/Object;)V
1: aload 0
aload 2
invokevirtual jdk.internal.module.ModuleHashesBuilder$Graph$Builder.addNode:(Ljava/lang/Object;)V
2: aload 0
getfield jdk.internal.module.ModuleHashesBuilder$Graph$Builder.edges:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/module/ModuleHashesBuilder$Graph$Builder<TT;>;
0 4 1 u TT;
0 4 2 v TT;
Signature: (TT;TT;)V
MethodParameters:
Name Flags
u
v
public jdk.internal.module.ModuleHashesBuilder$Graph<T> build();
descriptor: ()Ljdk/internal/module/ModuleHashesBuilder$Graph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new jdk.internal.module.ModuleHashesBuilder$Graph
dup
aload 0
getfield jdk.internal.module.ModuleHashesBuilder$Graph$Builder.nodes:Ljava/util/Set;
aload 0
getfield jdk.internal.module.ModuleHashesBuilder$Graph$Builder.edges:Ljava/util/Map;
invokespecial jdk.internal.module.ModuleHashesBuilder$Graph.<init>:(Ljava/util/Set;Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/ModuleHashesBuilder$Graph$Builder<TT;>;
Signature: ()Ljdk/internal/module/ModuleHashesBuilder$Graph<TT;>;
private static java.util.Set lambda$0(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/util/Set;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 _e TT;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ModuleHashesBuilder.java"
NestHost: jdk.internal.module.ModuleHashesBuilder
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
Graph = jdk.internal.module.ModuleHashesBuilder$Graph of jdk.internal.module.ModuleHashesBuilder
Builder = jdk.internal.module.ModuleHashesBuilder$Graph$Builder of jdk.internal.module.ModuleHashesBuilder$Graph