public static boolean ensureFilesWritable(@NotNull Project project, VirtualFile @NotNull ... files) {
    return !getInstance(project).ensureFilesWritable(Arrays.asList(files)).hasReadonlyFiles();
  }
public static boolean ensureFilesWritable(@NotNull Project project, VirtualFile @NotNull ... files)