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);