Interface SymbolDependencyContainer

All Known Implementing Classes:
CodegenWriter, DependencyTracker, Symbol, SymbolDependency, SymbolReference, SymbolWriter, SymbolWriter, WriterDelegator

public interface SymbolDependencyContainer
A container for SymbolDependency objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the list of dependencies that this object introduces.
  • Method Details

    • getDependencies

      List<SymbolDependency> getDependencies()
      Gets the list of dependencies that this object introduces.

      A dependency is a dependency on another package that a Symbol or type requires. It is quite different from a reference since a reference only refers to a symbol; a reference provides no context as to whether or not a dependency is required or the dependency's coordinates.

      Returns:
      Returns the dependencies.