public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    IdeaModule that = (IdeaModule) o;
    return getDir(getProject()).equals(that.getDir(getProject()));
  }
public boolean equals(Object o)