boolean (final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final MethodReturnValueData that = (MethodReturnValueData)o; if (!myMethod.equals(that.myMethod)) return false; if (!Objects.equals(myReturnValue, that.myReturnValue)) return false; return true; }