Package com.intellij.psi.impl

Examples of com.intellij.psi.impl.PsiFileFactoryImpl


      registerApplicationService(project, JobLauncher.class, new JobLauncherImpl());
      registerApplicationService(project, AsyncFutureFactory.class, new AsyncFutureFactoryImpl());
      project.registerService(PsiSearchHelper.class, new PsiSearchHelperImpl(psiManager));
      project.registerService(DumbService.class, new DumbServiceImpl(project));
      project.registerService(ResolveCache.class, new ResolveCache(project.getMessageBus()));
      project.registerService(PsiFileFactory.class, new PsiFileFactoryImpl(psiManager));
      try {
        project.registerService(JavaHelper.class, new JavaHelper.AsmHelper());
      }
      catch (LinkageError e) {
        System.out.println("ASM not available, using reflection helper: " + e);
View Full Code Here


        });
      }
      Extensions.registerAreaClass("IDEA_PROJECT", null);
      MockProjectEx project = new MockProjectEx(rootDisposable);
      MockPsiManager psiManager = new MockPsiManager(project);
      PsiFileFactoryImpl psiFileFactory = new PsiFileFactoryImpl(psiManager);
      MutablePicoContainer appContainer = application.getPicoContainer();
      registerComponentInstance(appContainer, MessageBus.class, MessageBusFactory.newMessageBus(application));
      registerComponentInstance(appContainer, SchemesManagerFactory.class, new MockSchemesManagerFactory());
      final MockEditorFactory editorFactory = new MockEditorFactory();
      registerComponentInstance(appContainer, EditorFactory.class, editorFactory);
View Full Code Here

TOP

Related Classes of com.intellij.psi.impl.PsiFileFactoryImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.