private static boolean enabledInProjectView(@NotNull PsiFile file) {
    return ContainerUtil.exists(RenameFileActionProvider.EP_NAME.getExtensionList(), provider -> provider.enabledInProjectView(file));
  }
private static boolean enabledInProjectView(@NotNull PsiFile file)