@Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }
    if (!super.equals(obj)) {
      return false;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    Method other = (Method) obj;
    if (params == null) {
      if (other.params != null) {
        return false;
      }
    } else if (!params.equals(other.params)) {
      return false;
    }
    if (returnProp == null) {
      if (other.returnProp != null) {
        return false;
      }
    } else if (!returnProp.equals(other.returnProp)) {
      return false;
    }
    return true;
  }