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)
    • ClasspathBasedLibrary

      protected ClasspathBasedLibrary()
  • Method Details

    • addLibrary

      protected void addLibrary(org.eclipse.xtext.naming.QualifiedName qualifiedName)
    • getSuggestedLibraries

      public List<org.eclipse.xtext.naming.QualifiedName> getSuggestedLibraries()
      Specified by:
      getSuggestedLibraries in interface RefineryLibrary
    • getDocumentation

      public Optional<String> getDocumentation(org.eclipse.xtext.naming.QualifiedName qualifiedName)
      Specified by:
      getDocumentation in interface RefineryLibrary
    • 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
    • computeQualifiedName

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

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