public static @NotNull FileContent createByContent(@NotNull VirtualFile file,
                                                     @NotNull NotNullComputable<byte[]> contentComputable,
                                                     @Nullable Project project) {
    FileContentImpl fileContent = createByContent(file, contentComputable);
    if (project != null) {
      fileContent.setProject(project);
    }
    return fileContent;
  }
public static @NotNull FileContent createByContent(@NotNull VirtualFile file,
                                                     @NotNull NotNullComputable<byte[]> contentComputable,
                                                     @Nullable Project project)