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
ModifierConstructorDescriptionprotected
ClasspathBasedLibrary
(Class<?> context, org.eclipse.xtext.naming.QualifiedName prefix) protected
ClasspathBasedLibrary
(org.eclipse.xtext.naming.QualifiedName prefix) -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional
<org.eclipse.emf.common.util.URI> getLibraryUri
(Class<?> context, org.eclipse.xtext.naming.QualifiedName qualifiedName) Optional
<org.eclipse.xtext.naming.QualifiedName> getQualifiedName
(org.eclipse.emf.common.util.URI uri, List<Path> libraryPaths) 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(org.eclipse.xtext.naming.QualifiedName prefix)
-
-
Method Details
-
resolveQualifiedName
public Optional<org.eclipse.emf.common.util.URI> resolveQualifiedName(org.eclipse.xtext.naming.QualifiedName qualifiedName, List<Path> libraryPaths) - Specified by:
resolveQualifiedName
in interfaceRefineryLibrary
-
getQualifiedName
public Optional<org.eclipse.xtext.naming.QualifiedName> getQualifiedName(org.eclipse.emf.common.util.URI uri, List<Path> libraryPaths) - Specified by:
getQualifiedName
in interfaceRefineryLibrary
-
getLibraryUri
-