class com.sun.tools.jdeps.Graph$Builder<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.jdeps.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 com.sun.tools.jdeps.Graph$Builder.nodes:Ljava/util/Set;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.jdeps.Graph$Builder.edges:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeps/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 com.sun.tools.jdeps.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 com.sun.tools.jdeps.Graph$Builder.nodes:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield com.sun.tools.jdeps.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;
com/sun/tools/jdeps/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 Lcom/sun/tools/jdeps/Graph$Builder<TT;>;
0 5 1 node TT;
Signature: (TT;)V
MethodParameters:
Name Flags
node
public void addNodes(java.util.Set<T>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.jdeps.Graph$Builder.nodes:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/Graph$Builder<TT;>;
0 2 1 nodes Ljava/util/Set<TT;>;
Signature: (Ljava/util/Set<TT;>;)V
MethodParameters:
Name Flags
nodes
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 com.sun.tools.jdeps.Graph$Builder.addNode:(Ljava/lang/Object;)V
1: aload 0
aload 2
invokevirtual com.sun.tools.jdeps.Graph$Builder.addNode:(Ljava/lang/Object;)V
2: aload 0
getfield com.sun.tools.jdeps.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 Lcom/sun/tools/jdeps/Graph$Builder<TT;>;
0 4 1 u TT;
0 4 2 v TT;
Signature: (TT;TT;)V
MethodParameters:
Name Flags
u
v
public com.sun.tools.jdeps.Graph<T> build();
descriptor: ()Lcom/sun/tools/jdeps/Graph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.sun.tools.jdeps.Graph
dup
aload 0
getfield com.sun.tools.jdeps.Graph$Builder.nodes:Ljava/util/Set;
aload 0
getfield com.sun.tools.jdeps.Graph$Builder.edges:Ljava/util/Map;
invokespecial com.sun.tools.jdeps.Graph.<init>:(Ljava/util/Set;Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/Graph$Builder<TT;>;
Signature: ()Lcom/sun/tools/jdeps/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: "Graph.java"
NestHost: com.sun.tools.jdeps.Graph
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