Class TypeImporter
- java.lang.Object
-
- org.eclipse.xtext.xbase.scoping.batch.TypeImporter
-
- All Implemented Interfaces:
ITypeImporter
public class TypeImporter extends java.lang.Object implements ITypeImporter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.xtext.xbase.scoping.batch.ITypeImporter
ITypeImporter.Client
-
-
Constructor Summary
Constructors Constructor Description TypeImporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidimportStatic(org.eclipse.xtext.common.types.JvmDeclaredType type)Imports all static members of the given type.voidimportStatic(org.eclipse.xtext.common.types.JvmDeclaredType type, java.lang.String memberName)Imports the static members of the given type with the given name.voidimportStaticExtension(org.eclipse.xtext.common.types.JvmDeclaredType type, boolean strict)Imports all static members of the given type as extensions.voidimportStaticExtension(org.eclipse.xtext.common.types.JvmDeclaredType type, java.lang.String memberName, boolean strict)Imports the static members of the given type with the given name as extensions.protected IFeatureScopeSessionprocess(AbstractFeatureScopeSession parent, ITypeImporter.Client client)
-
-
-
Method Detail
-
process
protected IFeatureScopeSession process(AbstractFeatureScopeSession parent, ITypeImporter.Client client)
-
importStatic
public void importStatic(org.eclipse.xtext.common.types.JvmDeclaredType type)
Description copied from interface:ITypeImporterImports all static members of the given type.- Specified by:
importStaticin interfaceITypeImporter
-
importStatic
public void importStatic(org.eclipse.xtext.common.types.JvmDeclaredType type, java.lang.String memberName)Description copied from interface:ITypeImporterImports the static members of the given type with the given name.- Specified by:
importStaticin interfaceITypeImporter
-
importStaticExtension
public void importStaticExtension(org.eclipse.xtext.common.types.JvmDeclaredType type, boolean strict)Description copied from interface:ITypeImporterImports all static members of the given type as extensions. If the strict flag is set to false, the members will also be available as static imports.- Specified by:
importStaticExtensionin interfaceITypeImporter
-
importStaticExtension
public void importStaticExtension(org.eclipse.xtext.common.types.JvmDeclaredType type, java.lang.String memberName, boolean strict)Description copied from interface:ITypeImporterImports the static members of the given type with the given name as extensions. If the strict flag is set to false, the imported members will also be available as static imports.- Specified by:
importStaticExtensionin interfaceITypeImporter
-
-