public static PatchBaseDirectoryDetector getInstance(Project project) {
    return project.getService(PatchBaseDirectoryDetector.class);
  }
public static PatchBaseDirectoryDetector getInstance(Project project)