private static boolean isOverridableFile(@NotNull VirtualFile file) {
      return file.isValid()
             && !file.isDirectory()
             && (file instanceof VirtualFileWithId)
             && OverrideFileTypeManager.isOverridable(file.getFileType());
    }
private static boolean isOverridableFile(@NotNull VirtualFile file)