public static void clearInvalidInjections(@NotNull PsiFile hostFile) {
    List<DocumentWindow> invalid = ContainerUtil.findAll(InjectedLanguageUtilBase.getCachedInjectedDocuments(hostFile), doc -> !doc.isValid());
    for (DocumentWindow window : invalid) {
      InjectedLanguageUtilBase.clearCaches(hostFile.getProject(), window);
    }
  }
public static void clearInvalidInjections(@NotNull PsiFile hostFile)