Class QlInjectorProvider

  • All Implemented Interfaces:
    org.eclipse.xtext.testing.IInjectorProvider, org.eclipse.xtext.testing.IRegistryConfigurator

    public class QlInjectorProvider
    extends Object
    implements org.eclipse.xtext.testing.IInjectorProvider, org.eclipse.xtext.testing.IRegistryConfigurator
    • Field Detail

      • stateBeforeInjectorCreation

        protected org.eclipse.xtext.testing.GlobalRegistries.GlobalStateMemento stateBeforeInjectorCreation
      • stateAfterInjectorCreation

        protected org.eclipse.xtext.testing.GlobalRegistries.GlobalStateMemento stateAfterInjectorCreation
      • injector

        protected com.google.inject.Injector injector
    • Constructor Detail

      • QlInjectorProvider

        public QlInjectorProvider()
    • Method Detail

      • getInjector

        public com.google.inject.Injector getInjector()
        Specified by:
        getInjector in interface org.eclipse.xtext.testing.IInjectorProvider
      • internalCreateInjector

        protected com.google.inject.Injector internalCreateInjector()
      • restoreRegistry

        public void restoreRegistry()
        Specified by:
        restoreRegistry in interface org.eclipse.xtext.testing.IRegistryConfigurator
      • setupRegistry

        public void setupRegistry()
        Specified by:
        setupRegistry in interface org.eclipse.xtext.testing.IRegistryConfigurator