void (@NotNull MultiHostRegistrar injectionPlacesRegistrar, @NotNull PsiElement context) { PsiLanguageInjectionHost host = (PsiLanguageInjectionHost)context; InjectedLanguagePlaces placesRegistrar = (language, rangeInsideHost, prefix, suffix) -> injectionPlacesRegistrar .startInjecting(language) .addPlace(prefix, suffix, host, rangeInsideHost) .doneInjecting(); for (LanguageInjector injector : LanguageInjector.EXTENSION_POINT_NAME.getExtensionList()) { injector.getLanguagesToInject(host, placesRegistrar); } }