Interface Library

All Superinterfaces:
Namespace

public interface Library extends Namespace
Interface for a Library namespace.
  • Field Details

  • Method Details

    • getType

      default Namespace.Type getType()
      Description copied from interface: Namespace
      Returns the type of namespace, e.g., Library, Class, Namespace, Function.
      Specified by:
      getType in interface Namespace
      Returns:
      the type of namespace, e.g., Library, Class, Namespace, Function
    • getAssociatedProgramPath

      String getAssociatedProgramPath()
      Returns:
      the associated program within the project which corresponds to this library
    • getContainingLibrary

      static Library getContainingLibrary(Symbol symbol)
      Get the Library which contains the specified external symbol.
      Parameters:
      symbol - external symbol
      Returns:
      null if symbol is null or not external