Class EnumLiteralImporter
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.computation.EnumLiteralImporter
-
- All Implemented Interfaces:
ITypeImporter.Client
public class EnumLiteralImporter extends java.lang.Object implements ITypeImporter.Client
Imports the enum literals that are defined in a given enum type statically.- Since:
- 2.7
-
-
Constructor Summary
Constructors Constructor Description EnumLiteralImporter(org.eclipse.xtext.common.types.JvmDeclaredType enumType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoAddImports(ITypeImporter importer)Clients should use the importer to add static imports to the scope.
-
-
-
Method Detail
-
doAddImports
public void doAddImports(ITypeImporter importer)
Description copied from interface:ITypeImporter.ClientClients should use the importer to add static imports to the scope.- Specified by:
doAddImportsin interfaceITypeImporter.Client
-
-