Interface IImportsConfiguration

    • Method Detail

      • getImportSection

        XImportSection getImportSection​(org.eclipse.xtext.resource.XtextResource resource)
      • getImportSectionOffset

        int getImportSectionOffset​(org.eclipse.xtext.resource.XtextResource resource)
      • getImplicitlyImportedPackages

        java.util.Set<java.lang.String> getImplicitlyImportedPackages​(org.eclipse.xtext.resource.XtextResource resource)
      • getLocallyDefinedTypes

        java.lang.Iterable<org.eclipse.xtext.common.types.JvmDeclaredType> getLocallyDefinedTypes​(org.eclipse.xtext.resource.XtextResource resource)
      • getContextJvmDeclaredType

        org.eclipse.xtext.common.types.JvmDeclaredType getContextJvmDeclaredType​(org.eclipse.emf.ecore.EObject model)
      • getLegacyImportSyntax

        java.lang.String getLegacyImportSyntax​(XImportDeclaration importDeclaration)
        Returns the syntax that was used in the import declaration if (and only if) it uses the legacy notation with a '$' as the delimiter for nested types. Otherwise the result is null. Also returns null, if no node model is attached.
      • getPackageName

        java.lang.String getPackageName​(org.eclipse.xtext.resource.XtextResource xtextResource)