public static MessageInfo filesAreReadOnly(Project project, String[] files) {
    if (files.length == 1) {
      return fileIsReadOnly(project, files[0]);
    }
    else {
      return error(project, UIBundle.message("files.are.read.only.message.text", String.join(",\n", files)));
    }
  }
public static MessageInfo filesAreReadOnly(Project project, String[] files)