Extensions.getRootArea().getExtensionPoint("com.intellij.referencesSearch").registerExtension(new CachesBasedRefSearcher());
registerApplicationService(project, PsiReferenceService.class, new PsiReferenceServiceImpl());
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());
}