public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { Throwable theThrowable; theThrowable = this.getThrowable(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "throwable", theThrowable), currentHashCode, theThrowable); } return currentHashCode; }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { Throwable theThrowable; theThrowable = this.getThrowable(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "throwable", theThrowable), currentHashCode, theThrowable); } return currentHashCode; }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof AbstractStepFailureEvent)) { return false; } if (this == object) { return true; } final AbstractStepFailureEvent that = ((AbstractStepFailureEvent) object); { Throwable lhsThrowable; lhsThrowable = this.getThrowable(); Throwable rhsThrowable; rhsThrowable = that.getThrowable(); if (!strategy.equals(LocatorUtils.property(thisLocator, "throwable", lhsThrowable), LocatorUtils.property(thatLocator, "throwable", rhsThrowable), lhsThrowable, rhsThrowable)) { return false; } } return true; }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof AbstractStepFailureEvent)) { return false; } if (this == object) { return true; } final AbstractStepFailureEvent that = ((AbstractStepFailureEvent) object); { Throwable lhsThrowable; lhsThrowable = this.getThrowable(); Throwable rhsThrowable; rhsThrowable = that.getThrowable(); if (!strategy.equals(LocatorUtils.property(thisLocator, "throwable", lhsThrowable), LocatorUtils.property(thatLocator, "throwable", rhsThrowable), lhsThrowable, rhsThrowable)) { return false; } } return true; }