Class 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
      void doAddImports​(ITypeImporter importer)
      Clients should use the importer to add static imports to the scope.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnumLiteralImporter

        public EnumLiteralImporter​(org.eclipse.xtext.common.types.JvmDeclaredType enumType)