- All Known Subinterfaces:
MutableLibraryOwner
- All Known Implementing Classes:
DiskLibraryOwner
public interface LibraryOwner
Common interfaces for library, for supporting both
library in file system and library in memory.
- See Also:
- API Note:
- DO NOT USE this class as Map key, use
underlyingLibrary()instead.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModulePath(@NotNull Path newPath) default @Nullable LibrarySourcefindModule(@NotNull kala.collection.immutable.ImmutableSeq<String> mod) @NotNull kala.collection.SeqView<LibraryOwner>@NotNull kala.collection.SeqView<LibrarySource>@NotNull org.aya.util.error.SourceFileLocatorlocator()@NotNull kala.collection.SeqView<Path>default @NotNull PathoutDir()@NotNull LibraryConfig
-
Field Details
-
DEFAULT_INDENT
static final int DEFAULT_INDENT- See Also:
-
-
Method Details
-
modulePath
- Returns:
- Source dirs of this module, out dirs of all dependencies.
-
librarySources
-
libraryDeps
-
locator
@NotNull @NotNull org.aya.util.error.SourceFileLocator locator() -
underlyingLibrary
-
addModulePath
-
outDir
- Returns:
- Out dir of this module.
-
findModule
@Nullable default @Nullable LibrarySource findModule(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<String> mod)
-