Interface Library
- All Superinterfaces:
Namespace
Interface for a Library dependency and namespace.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Namespace
Namespace.Type -
Field Summary
FieldsFields inherited from interface Namespace
DELIMITER, GLOBAL_NAMESPACE_ID, NAMESPACE_DELIMITER -
Method Summary
Modifier and TypeMethodDescriptionstatic LibrarygetContainingLibrary(Symbol symbol) Get the Library which contains the specified external symbol.default Namespace.TypegetType()Returns the type of namespace, e.g., Library, Class, Namespace, Function.voidsetAssociatedProgramPath(String programPath) Sets the program file pathname within the project which corresponds to this library.Methods inherited from interface Namespace
getBody, getID, getName, getName, getParentNamespace, getPathList, getSymbol, isExternal, isGlobal, isLibrary, setParentNamespace
-
Field Details
-
UNKNOWN
- See Also:
-
-
Method Details
-
getType
Description copied from interface:NamespaceReturns the type of namespace, e.g., Library, Class, Namespace, Function. -
getAssociatedProgramPath
String getAssociatedProgramPath()- Returns:
- the associated program file pathname within the project which corresponds to this library.
-
setAssociatedProgramPath
Sets the program file pathname within the project which corresponds to this library.NOTE: Assigning a path to
UNKNOWNLibrary will be ignored.- Parameters:
programPath- a program file pathname or null to clear the stored path.- Throws:
InvalidInputException- on invalid programPath is specified
-
getContainingLibrary
-