public class com.sun.tools.javac.util.Dependencies$GraphDependencies extends com.sun.tools.javac.util.Dependencies implements java.io.Closeable, com.sun.tools.javac.code.Symbol$Completer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.util.Dependencies$GraphDependencies
super_class: com.sun.tools.javac.util.Dependencies
{
private java.util.EnumSet<com.sun.tools.javac.util.Dependencies$GraphDependencies$DependenciesMode> dependenciesModes;
descriptor: Ljava/util/EnumSet;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/EnumSet<Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$DependenciesMode;>;
private java.lang.String dependenciesFile;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
java.util.Stack<com.sun.tools.javac.util.Dependencies$GraphDependencies$Node> nodeStack;
descriptor: Ljava/util/Stack;
flags: (0x0000)
Signature: Ljava/util/Stack<Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$Node;>;
java.util.Map<com.sun.tools.javac.code.Symbol$ClassSymbol, com.sun.tools.javac.util.Dependencies$GraphDependencies$Node> dependencyNodeMap;
descriptor: Ljava/util/Map;
flags: (0x0000)
Signature: Ljava/util/Map<Lcom/sun/tools/javac/code/Symbol$ClassSymbol;Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$Node;>;
public static void preRegister(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.sun.tools.javac.util.Dependencies$GraphDependencies.dependenciesKey:Lcom/sun/tools/javac/util/Context$Key;
invokedynamic make()Lcom/sun/tools/javac/util/Context$Factory;
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:
(Lcom/sun/tools/javac/util/Context;)Ljava/lang/Object;
com/sun/tools/javac/util/Dependencies$GraphDependencies.<init>(Lcom/sun/tools/javac/util/Context;)V (8)
(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Dependencies;
invokevirtual com.sun.tools.javac.util.Context.put:(Lcom/sun/tools/javac/util/Context$Key;Lcom/sun/tools/javac/util/Context$Factory;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lcom/sun/tools/javac/util/Context;
MethodParameters:
Name Flags
context
void <init>(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)V
flags: (0x0000)
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.tools.javac.util.Dependencies.<init>:(Lcom/sun/tools/javac/util/Context;)V
1: aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield com.sun.tools.javac.util.Dependencies$GraphDependencies.nodeStack:Ljava/util/Stack;
2: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependencyNodeMap:Ljava/util/Map;
3: aload 1
invokestatic com.sun.tools.javac.util.Options.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Options;
astore 2
start local 2 4: aload 2
ldc "debug.completionDeps"
invokevirtual com.sun.tools.javac.util.Options.get:(Ljava/lang/String;)Ljava/lang/String;
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 5: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 10
StackMap locals: com.sun.tools.javac.util.Dependencies$GraphDependencies com.sun.tools.javac.util.Context com.sun.tools.javac.util.Options java.lang.String[] top int int java.lang.String[]
StackMap stack:
6: aload 7
iload 5
aaload
astore 4
start local 4 7: aload 4
ldc "file="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
8: aload 0
aload 4
iconst_5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependenciesFile:Ljava/lang/String;
end local 4 9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 6
if_icmplt 6
11: aload 0
aload 3
invokestatic com.sun.tools.javac.util.Dependencies$GraphDependencies$DependenciesMode.getDependenciesModes:([Ljava/lang/String;)Ljava/util/EnumSet;
putfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependenciesModes:Ljava/util/EnumSet;
12: aload 1
invokestatic com.sun.tools.javac.main.JavaCompiler.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/JavaCompiler;
astore 4
start local 4 13: aload 4
aload 4
getfield com.sun.tools.javac.main.JavaCompiler.closeables:Lcom/sun/tools/javac/util/List;
aload 0
invokevirtual com.sun.tools.javac.util.List.prepend:(Ljava/lang/Object;)Lcom/sun/tools/javac/util/List;
putfield com.sun.tools.javac.main.JavaCompiler.closeables:Lcom/sun/tools/javac/util/List;
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/javac/util/Dependencies$GraphDependencies;
0 15 1 context Lcom/sun/tools/javac/util/Context;
4 15 2 options Lcom/sun/tools/javac/util/Options;
5 15 3 modes [Ljava/lang/String;
7 9 4 mode Ljava/lang/String;
13 15 4 compiler Lcom/sun/tools/javac/main/JavaCompiler;
MethodParameters:
Name Flags
context
public void push(com.sun.tools.javac.code.Symbol$ClassSymbol, com.sun.tools.javac.util.Dependencies$CompletionCause);
descriptor: (Lcom/sun/tools/javac/code/Symbol$ClassSymbol;Lcom/sun/tools/javac/util/Dependencies$CompletionCause;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.tools.javac.util.Dependencies$GraphDependencies$CompletionNode
dup
aload 1
invokespecial com.sun.tools.javac.util.Dependencies$GraphDependencies$CompletionNode.<init>:(Lcom/sun/tools/javac/code/Symbol$ClassSymbol;)V
astore 3
start local 3 1: aload 3
aload 0
aload 3
aload 2
invokevirtual com.sun.tools.javac.util.Dependencies$GraphDependencies.push:(Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$Node;Lcom/sun/tools/javac/util/Dependencies$CompletionCause;)Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$Node;
if_acmpne 3
2: aload 1
aload 0
putfield com.sun.tools.javac.code.Symbol$ClassSymbol.completer:Lcom/sun/tools/javac/code/Symbol$Completer;
3: StackMap locals: com.sun.tools.javac.util.Dependencies$GraphDependencies$Node
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/util/Dependencies$GraphDependencies;
0 4 1 s Lcom/sun/tools/javac/code/Symbol$ClassSymbol;
0 4 2 phase Lcom/sun/tools/javac/util/Dependencies$CompletionCause;
1 4 3 n Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$Node;
MethodParameters:
Name Flags
s
phase
protected com.sun.tools.javac.util.Dependencies$GraphDependencies$Node push(com.sun.tools.javac.util.Dependencies$GraphDependencies$Node, com.sun.tools.javac.util.Dependencies$CompletionCause);
descriptor: (Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$Node;Lcom/sun/tools/javac/util/Dependencies$CompletionCause;)Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$Node;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependencyNodeMap:Ljava/util/Map;
aload 1
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies$Node.data:Ljava/lang/Object;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.javac.util.Dependencies$GraphDependencies$Node
astore 3
start local 3 1: aload 3
ifnonnull 4
2: aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependencyNodeMap:Ljava/util/Map;
aload 1
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies$Node.data:Ljava/lang/Object;
checkcast com.sun.tools.javac.code.Symbol$ClassSymbol
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: goto 5
4: StackMap locals: com.sun.tools.javac.util.Dependencies$GraphDependencies$Node
StackMap stack:
aload 3
astore 1
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.nodeStack:Ljava/util/Stack;
invokevirtual java.util.Stack.isEmpty:()Z
ifne 8
6: aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.nodeStack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.tools.javac.util.Dependencies$GraphDependencies$Node
astore 4
start local 4 7: aload 4
aload 2
aload 1
invokevirtual com.sun.tools.javac.util.Dependencies$GraphDependencies$Node.addDependency:(Lcom/sun/tools/javac/util/GraphUtils$DependencyKind;Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$Node;)V
end local 4 8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.nodeStack:Ljava/util/Stack;
aload 1
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/javac/util/Dependencies$GraphDependencies;
0 10 1 newNode Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$Node;
0 10 2 cc Lcom/sun/tools/javac/util/Dependencies$CompletionCause;
1 10 3 cachedNode Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$Node;
7 8 4 currentNode Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$Node;
MethodParameters:
Name Flags
newNode
cc
public void pop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.nodeStack:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/util/Dependencies$GraphDependencies;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependenciesModes:Ljava/util/EnumSet;
getstatic com.sun.tools.javac.util.Dependencies$GraphDependencies$DependenciesMode.REDUNDANT:Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$DependenciesMode;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifne 2
1: new com.sun.tools.javac.util.Dependencies$GraphDependencies$PruneVisitor
dup
invokespecial com.sun.tools.javac.util.Dependencies$GraphDependencies$PruneVisitor.<init>:()V
aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependencyNodeMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aconst_null
invokevirtual com.sun.tools.javac.util.Dependencies$GraphDependencies$PruneVisitor.visit:(Ljava/util/Collection;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependenciesModes:Ljava/util/EnumSet;
getstatic com.sun.tools.javac.util.Dependencies$GraphDependencies$DependenciesMode.CLASS:Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$DependenciesMode;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifne 4
3: new com.sun.tools.javac.util.Dependencies$GraphDependencies$FilterVisitor
dup
aload 0
getstatic com.sun.tools.javac.util.Dependencies$GraphDependencies$CompletionNode$Kind.SOURCE:Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$CompletionNode$Kind;
invokespecial com.sun.tools.javac.util.Dependencies$GraphDependencies$FilterVisitor.<init>:(Lcom/sun/tools/javac/util/Dependencies$GraphDependencies;Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$CompletionNode$Kind;)V
aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependencyNodeMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aconst_null
invokevirtual com.sun.tools.javac.util.Dependencies$GraphDependencies$FilterVisitor.visit:(Ljava/util/Collection;Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependenciesModes:Ljava/util/EnumSet;
getstatic com.sun.tools.javac.util.Dependencies$GraphDependencies$DependenciesMode.SOURCE:Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$DependenciesMode;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifne 6
5: new com.sun.tools.javac.util.Dependencies$GraphDependencies$FilterVisitor
dup
aload 0
getstatic com.sun.tools.javac.util.Dependencies$GraphDependencies$CompletionNode$Kind.CLASS:Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$CompletionNode$Kind;
invokespecial com.sun.tools.javac.util.Dependencies$GraphDependencies$FilterVisitor.<init>:(Lcom/sun/tools/javac/util/Dependencies$GraphDependencies;Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$CompletionNode$Kind;)V
aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependencyNodeMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aconst_null
invokevirtual com.sun.tools.javac.util.Dependencies$GraphDependencies$FilterVisitor.visit:(Ljava/util/Collection;Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependenciesFile:Ljava/lang/String;
ifnull 16
7: aconst_null
astore 1
aconst_null
astore 2
8: new java.io.FileWriter
dup
aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependenciesFile:Ljava/lang/String;
invokespecial java.io.FileWriter.<init>:(Ljava/lang/String;)V
astore 3
start local 3 9: aload 3
aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependencyNodeMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
ldc "CompletionDeps"
ldc ""
invokestatic com.sun.tools.javac.util.GraphUtils.toDot:(Ljava/util/Collection;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.FileWriter.append:(Ljava/lang/CharSequence;)Ljava/io/Writer;
pop
10: aload 3
ifnull 16
aload 3
invokevirtual java.io.FileWriter.close:()V
goto 16
StackMap locals: com.sun.tools.javac.util.Dependencies$GraphDependencies java.lang.Throwable java.lang.Throwable java.io.FileWriter
StackMap stack: java.lang.Throwable
11: astore 1
aload 3
ifnull 12
aload 3
invokevirtual java.io.FileWriter.close:()V
end local 3 StackMap locals:
StackMap stack:
12: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 2
aload 1
ifnonnull 14
aload 2
astore 1
goto 15
StackMap locals:
StackMap stack:
14: aload 1
aload 2
if_acmpeq 15
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 1
athrow
16: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/tools/javac/util/Dependencies$GraphDependencies;
9 12 3 fw Ljava/io/FileWriter;
Exception table:
from to target type
9 10 11 any
8 13 13 any
Exceptions:
throws java.io.IOException
public void complete(com.sun.tools.javac.code.Symbol);
descriptor: (Lcom/sun/tools/javac/code/Symbol;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast com.sun.tools.javac.code.Symbol$ClassSymbol
getstatic com.sun.tools.javac.util.Dependencies$CompletionCause.OTHER:Lcom/sun/tools/javac/util/Dependencies$CompletionCause;
invokevirtual com.sun.tools.javac.util.Dependencies$GraphDependencies.push:(Lcom/sun/tools/javac/code/Symbol$ClassSymbol;Lcom/sun/tools/javac/util/Dependencies$CompletionCause;)V
1: aload 0
invokevirtual com.sun.tools.javac.util.Dependencies$GraphDependencies.pop:()V
2: aload 1
aload 0
putfield com.sun.tools.javac.code.Symbol.completer:Lcom/sun/tools/javac/code/Symbol$Completer;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/util/Dependencies$GraphDependencies;
0 4 1 sym Lcom/sun/tools/javac/code/Symbol;
Exceptions:
throws com.sun.tools.javac.code.Symbol$CompletionFailure
MethodParameters:
Name Flags
sym
public boolean isTerminal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/Dependencies$GraphDependencies;
public java.util.Collection<com.sun.tools.javac.util.Dependencies$GraphDependencies$Node> getNodes();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.util.Dependencies$GraphDependencies.dependencyNodeMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/Dependencies$GraphDependencies;
Signature: ()Ljava/util/Collection<Lcom/sun/tools/javac/util/Dependencies$GraphDependencies$Node;>;
}
SourceFile: "Dependencies.java"
NestHost: com.sun.tools.javac.util.Dependencies
InnerClasses:
public ClassSymbol = com.sun.tools.javac.code.Symbol$ClassSymbol of com.sun.tools.javac.code.Symbol
public abstract Completer = com.sun.tools.javac.code.Symbol$Completer of com.sun.tools.javac.code.Symbol
public CompletionFailure = com.sun.tools.javac.code.Symbol$CompletionFailure of com.sun.tools.javac.code.Symbol
public abstract Factory = com.sun.tools.javac.util.Context$Factory of com.sun.tools.javac.util.Context
public Key = com.sun.tools.javac.util.Context$Key of com.sun.tools.javac.util.Context
public final CompletionCause = com.sun.tools.javac.util.Dependencies$CompletionCause of com.sun.tools.javac.util.Dependencies
public GraphDependencies = com.sun.tools.javac.util.Dependencies$GraphDependencies of com.sun.tools.javac.util.Dependencies
public CompletionNode = com.sun.tools.javac.util.Dependencies$GraphDependencies$CompletionNode of com.sun.tools.javac.util.Dependencies$GraphDependencies
final Kind = com.sun.tools.javac.util.Dependencies$GraphDependencies$CompletionNode$Kind of com.sun.tools.javac.util.Dependencies$GraphDependencies$CompletionNode
final DependenciesMode = com.sun.tools.javac.util.Dependencies$GraphDependencies$DependenciesMode of com.sun.tools.javac.util.Dependencies$GraphDependencies
private FilterVisitor = com.sun.tools.javac.util.Dependencies$GraphDependencies$FilterVisitor of com.sun.tools.javac.util.Dependencies$GraphDependencies
public abstract Node = com.sun.tools.javac.util.Dependencies$GraphDependencies$Node of com.sun.tools.javac.util.Dependencies$GraphDependencies
private PruneVisitor = com.sun.tools.javac.util.Dependencies$GraphDependencies$PruneVisitor of com.sun.tools.javac.util.Dependencies$GraphDependencies
public abstract DependencyKind = com.sun.tools.javac.util.GraphUtils$DependencyKind of com.sun.tools.javac.util.GraphUtils
public abstract DottableNode = com.sun.tools.javac.util.GraphUtils$DottableNode of com.sun.tools.javac.util.GraphUtils
public abstract Node = com.sun.tools.javac.util.GraphUtils$Node of com.sun.tools.javac.util.GraphUtils
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles