void (final PsiLanguageInjectionHost host, final InjectedLanguage language) { SmartPsiElementPointer<PsiLanguageInjectionHost> pointer = SmartPointerManager.getInstance(myProject).createSmartPsiElementPointer(host); TempPlace place = new TempPlace(language, pointer); addInjectionPlace(place); }