Package tools.refinery.language.library
Class ClasspathBasedLibrary
java.lang.Object
tools.refinery.language.library.ClasspathBasedLibrary
- All Implemented Interfaces:
RefineryLibrary
- Direct Known Subclasses:
BuiltinLibrary
-
Field Summary
Fields inherited from interface tools.refinery.language.library.RefineryLibrary
FILE_NAME_SUFFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addLibrary
(org.eclipse.xtext.naming.QualifiedName qualifiedName) Optional
<org.eclipse.xtext.naming.QualifiedName> computeQualifiedName
(org.eclipse.emf.common.util.URI uri, List<Path> libraryPaths) getDocumentation
(org.eclipse.xtext.naming.QualifiedName qualifiedName) static Optional
<org.eclipse.emf.common.util.URI> getLibraryUri
(Class<?> context, org.eclipse.xtext.naming.QualifiedName qualifiedName) List
<org.eclipse.xtext.naming.QualifiedName> Optional
<org.eclipse.emf.common.util.URI> resolveQualifiedName
(org.eclipse.xtext.naming.QualifiedName qualifiedName, List<Path> libraryPaths) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tools.refinery.language.library.RefineryLibrary
getAutomaticImports
-
Constructor Details
-
ClasspathBasedLibrary
-
ClasspathBasedLibrary
protected ClasspathBasedLibrary()
-
-
Method Details
-
addLibrary
protected void addLibrary(org.eclipse.xtext.naming.QualifiedName qualifiedName) -
getSuggestedLibraries
- Specified by:
getSuggestedLibraries
in interfaceRefineryLibrary
-
getDocumentation
- Specified by:
getDocumentation
in interfaceRefineryLibrary
-
resolveQualifiedName
public Optional<org.eclipse.emf.common.util.URI> resolveQualifiedName(org.eclipse.xtext.naming.QualifiedName qualifiedName, List<Path> libraryPaths) - Specified by:
resolveQualifiedName
in interfaceRefineryLibrary
-
computeQualifiedName
public Optional<org.eclipse.xtext.naming.QualifiedName> computeQualifiedName(org.eclipse.emf.common.util.URI uri, List<Path> libraryPaths) - Specified by:
computeQualifiedName
in interfaceRefineryLibrary
-
getLibraryUri
-