public static MessageInfo fileIsReadOnly(Project project, String filePath) {
    return error(project, UIBundle.message("file.is.read.only.message.text", filePath));
  }
public static MessageInfo fileIsReadOnly(Project project, String filePath)