Top Description Inners Fields Constructors Methods
com.sun.tools.javac.util

public abstract Class Dependencies

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.tools.javac.util.Dependencies.GraphDependencies, com.sun.tools.javac.util.Dependencies.DummyDependencies
Imports
com.sun.tools.javac.code.Symbol, .Symbol.ClassSymbol, .Symbol.Completer, .Symbol.CompletionFailure, com.sun.tools.javac.main.JavaCompiler, com.sun.tools.javac.util.GraphUtils.DependencyKind, .GraphUtils.DotVisitor, .GraphUtils.NodeVisitor, java.io.Closeable, .FileWriter, .IOException, java.util.ArrayList, .Arrays, .Collection, .EnumMap, .EnumSet, .LinkedHashMap, .List, .Map, .Properties, .Stack, javax.tools.JavaFileObject

This class is used to track dependencies in the javac symbol completion process.

This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
private static class
Dependencies.DummyDependencies

Dummy class to be used when dependencies options are not set.

public static class
Dependencies.GraphDependencies

This class creates a graph of all dependencies as symbols are completed; when compilation finishes, the resulting dependency graph is then dumped onto a dot file.

Field Summary

Modifier and TypeField and Description
protected static final Context.Key<Dependencies>

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static Dependencies
instance(Context context)

public abstract void
pop()

Remove current dependency node from the stack.

public abstract void
push(Symbol.ClassSymbol s, Dependencies.CompletionCause phase)

Push a new completion node on the stack.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait