Interface BaseSource

All Superinterfaces:
AutoCloseable, BaseLoader, BaseProvider, io.github.mmm.code.api.node.CodeContainer, io.github.mmm.code.api.CodeLoader, io.github.mmm.code.api.object.CodeMutable, io.github.mmm.code.api.node.CodeNode, io.github.mmm.code.api.node.CodeNodeWithFileWriting, io.github.mmm.code.api.CodeProvider, io.github.mmm.code.api.source.CodeSource, io.github.mmm.code.api.CodeWithContext
All Known Implementing Classes:
BaseSourceImpl

public interface BaseSource extends io.github.mmm.code.api.source.CodeSource, BaseProvider
Base implementation of CodeSource.
Since:
1.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)
  • Method Details

    • getParent

      BaseSource getParent()
      Specified by:
      getParent in interface io.github.mmm.code.api.node.CodeNode
      Specified by:
      getParent in interface io.github.mmm.code.api.source.CodeSource
    • getSource

      default BaseSource getSource()
      Specified by:
      getSource in interface BaseLoader
      Specified by:
      getSource in interface BaseProvider
      Specified by:
      getSource in interface io.github.mmm.code.api.CodeWithContext
    • getRootPackage

      BasePackage getRootPackage()
      Specified by:
      getRootPackage in interface io.github.mmm.code.api.source.CodeSource
    • getContext

      default BaseContext getContext()
      Specified by:
      getContext in interface BaseLoader
      Specified by:
      getContext in interface BaseProvider
      Specified by:
      getContext in interface io.github.mmm.code.api.CodeWithContext
    • getDependencies

      BaseSourceDependencies getDependencies()
      Specified by:
      getDependencies in interface io.github.mmm.code.api.source.CodeSource
    • getLoader

      BaseSourceLoader getLoader()
      Returns:
      the BaseSourceLoader to load BasePackages and BaseTypes.