class MethodReturn {
  private SootMethod m;

  public MethodReturn(SootMethod m) {
    this.m = m;
  }

  public SootMethod getMethod() {
    return m;
  }

  public Type getType() {
    return m.getReturnType();
  }

  public int hashCode() {
    return m.hashCode() + m.getParameterCount();
  }

  public boolean equals(Object other) {<FILL_FUNCTION_BODY>}

  public String toString() {
    return "[" + m.getSignature() + " : R]";
  }
}

    if (other instanceof MethodReturn) {
      return m.equals(((MethodReturn) other).getMethod());
    }

    return false;
  
<no_super_class>