@Override
  public @Nullable Injection getInjection(@NotNull PsiElement context) {
    if (!(context instanceof PsiLanguageInjectionHost host) || !host.isValidHost()) {
      return null;
    }

    TemporaryPlacesRegistry registry = TemporaryPlacesRegistry.getInstance(host.getProject());

    PsiFile containingFile = context.getContainingFile();
    InjectedLanguage injectedLanguage = registry.getLanguageFor(host, containingFile);
    Language language = injectedLanguage != null ? injectedLanguage.getLanguage() : null;
    if (language == null) return null;

    return new SimpleInjection(language,
                               injectedLanguage.getPrefix(),
                               injectedLanguage.getSuffix(),
                               registry.getLanguageInjectionSupport().getId());
  }
@Override
  public @Nullable Injection getInjection(@NotNull PsiElement context)