public static MessageInfo fileIsReadOnly(Project project, VirtualFile file) {
    return fileIsReadOnly(project, file.getPresentableUrl());
  }
public static MessageInfo fileIsReadOnly(Project project, VirtualFile file)