public interface IImportsConfiguration
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.xtext.common.types.JvmDeclaredType |
getContextJvmDeclaredType(org.eclipse.emf.ecore.EObject model) |
java.util.Set<java.lang.String> |
getImplicitlyImportedPackages(org.eclipse.xtext.resource.XtextResource resource) |
XImportSection |
getImportSection(org.eclipse.xtext.resource.XtextResource resource) |
int |
getImportSectionOffset(org.eclipse.xtext.resource.XtextResource resource) |
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.
|
java.lang.Iterable<org.eclipse.xtext.common.types.JvmDeclaredType> |
getLocallyDefinedTypes(org.eclipse.xtext.resource.XtextResource resource) |
java.lang.String |
getPackageName(org.eclipse.xtext.resource.XtextResource xtextResource) |
XImportSection getImportSection(org.eclipse.xtext.resource.XtextResource resource)
int getImportSectionOffset(org.eclipse.xtext.resource.XtextResource resource)
java.util.Set<java.lang.String> getImplicitlyImportedPackages(org.eclipse.xtext.resource.XtextResource resource)
java.lang.Iterable<org.eclipse.xtext.common.types.JvmDeclaredType> getLocallyDefinedTypes(org.eclipse.xtext.resource.XtextResource resource)
org.eclipse.xtext.common.types.JvmDeclaredType getContextJvmDeclaredType(org.eclipse.emf.ecore.EObject model)
java.lang.String getLegacyImportSyntax(XImportDeclaration importDeclaration)
java.lang.String getPackageName(org.eclipse.xtext.resource.XtextResource xtextResource)