@Override
 public void getLanguagesToInject(
     @NotNull final MultiHostRegistrar injectionPlacesRegistrar, @NotNull PsiElement context) {
   final PsiLanguageInjectionHost host = (PsiLanguageInjectionHost) context;
   InjectedLanguagePlaces placesRegistrar =
       (language, rangeInsideHost, prefix, suffix) ->
           injectionPlacesRegistrar
               .startInjecting(language)
               .addPlace(prefix, suffix, host, rangeInsideHost)
               .doneInjecting();
   for (LanguageInjector injector :
       Extensions.getExtensions(LanguageInjector.EXTENSION_POINT_NAME)) {
     injector.getLanguagesToInject(host, placesRegistrar);
   }
 }
 @Override
 public void getLanguagesToInject(
     @NotNull final MultiHostRegistrar injectionPlacesRegistrar, @NotNull PsiElement context) {
   final PsiLanguageInjectionHost host = (PsiLanguageInjectionHost) context;
   InjectedLanguagePlaces placesRegistrar =
       new InjectedLanguagePlaces() {
         @Override
         public void addPlace(
             @NotNull Language language,
             @NotNull TextRange rangeInsideHost,
             @NonNls @Nullable String prefix,
             @NonNls @Nullable String suffix) {
           ProperTextRange.assertProperRange(rangeInsideHost);
           injectionPlacesRegistrar
               .startInjecting(language)
               .addPlace(prefix, suffix, host, rangeInsideHost)
               .doneInjecting();
         }
       };
   for (LanguageInjector injector :
       Extensions.getExtensions(LanguageInjector.EXTENSION_POINT_NAME)) {
     injector.getLanguagesToInject(host, placesRegistrar);
   }
 }