boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; DiamondInferenceResult that = (DiamondInferenceResult)o; if (myErrorMessage != null ? !myErrorMessage.equals(that.myErrorMessage) : that.myErrorMessage != null) return false; if (!myInferredTypes.equals(that.myInferredTypes)) return false; return true; }