Class TypeImporter

    • Constructor Summary

      Constructors 
      Constructor Description
      TypeImporter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void importStatic​(org.eclipse.xtext.common.types.JvmDeclaredType type)
      Imports all static members of the given type.
      void importStatic​(org.eclipse.xtext.common.types.JvmDeclaredType type, java.lang.String memberName)
      Imports the static members of the given type with the given name.
      void importStaticExtension​(org.eclipse.xtext.common.types.JvmDeclaredType type, boolean strict)
      Imports all static members of the given type as extensions.
      void importStaticExtension​(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 IFeatureScopeSession process​(AbstractFeatureScopeSession parent, ITypeImporter.Client client)  
      • Methods inherited from class java.lang.Object

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

      • TypeImporter

        public TypeImporter()
    • Method Detail

      • importStatic

        public void importStatic​(org.eclipse.xtext.common.types.JvmDeclaredType type)
        Description copied from interface: ITypeImporter
        Imports all static members of the given type.
        Specified by:
        importStatic in interface ITypeImporter
      • importStatic

        public void importStatic​(org.eclipse.xtext.common.types.JvmDeclaredType type,
                                 java.lang.String memberName)
        Description copied from interface: ITypeImporter
        Imports the static members of the given type with the given name.
        Specified by:
        importStatic in interface ITypeImporter
      • importStaticExtension

        public void importStaticExtension​(org.eclipse.xtext.common.types.JvmDeclaredType type,
                                          boolean strict)
        Description copied from interface: ITypeImporter
        Imports 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:
        importStaticExtension in interface ITypeImporter
      • importStaticExtension

        public void importStaticExtension​(org.eclipse.xtext.common.types.JvmDeclaredType type,
                                          java.lang.String memberName,
                                          boolean strict)
        Description copied from interface: ITypeImporter
        Imports 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:
        importStaticExtension in interface ITypeImporter