Class ClasspathBasedLibrary

java.lang.Object
tools.refinery.language.library.ClasspathBasedLibrary
All Implemented Interfaces:
RefineryLibrary
Direct Known Subclasses:
BuiltinLibrary

public abstract class ClasspathBasedLibrary extends Object implements RefineryLibrary
  • Constructor Details

    • ClasspathBasedLibrary

      protected ClasspathBasedLibrary(Class<?> context, org.eclipse.xtext.naming.QualifiedName prefix)
    • 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 interface RefineryLibrary
    • getQualifiedName

      public Optional<org.eclipse.xtext.naming.QualifiedName> getQualifiedName(org.eclipse.emf.common.util.URI uri, List<Path> libraryPaths)
      Specified by:
      getQualifiedName in interface RefineryLibrary
    • getLibraryUri

      public static Optional<org.eclipse.emf.common.util.URI> getLibraryUri(Class<?> context, org.eclipse.xtext.naming.QualifiedName qualifiedName)