public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theFieldName; theFieldName = this.getFieldName(); strategy.appendField(locator, this, "fieldName", buffer, theFieldName, (this.fieldName!= null)); } { Integer theFragmentSize; theFragmentSize = this.getFragmentSize(); strategy.appendField(locator, this, "fragmentSize", buffer, theFragmentSize, (this.fragmentSize!= null)); } { List<String> theMatchedFields; theMatchedFields = (((this.matchedFields!= null)&&(!this.matchedFields.isEmpty()))?this.getMatchedFields():null); strategy.appendField(locator, this, "matchedFields", buffer, theMatchedFields, ((this.matchedFields!= null)&&(!this.matchedFields.isEmpty()))); } { Integer theNumOfFragments; theNumOfFragments = this.getNumOfFragments(); strategy.appendField(locator, this, "numOfFragments", buffer, theNumOfFragments, (this.numOfFragments!= null)); } return buffer; }
lhsFragmentSize = this.getFragmentSize(); Integer rhsFragmentSize; rhsFragmentSize = that.getFragmentSize(); if (!strategy.equals(LocatorUtils.property(thisLocator, "fragmentSize", lhsFragmentSize), LocatorUtils.property(thatLocator, "fragmentSize", rhsFragmentSize), lhsFragmentSize, rhsFragmentSize, (this.fragmentSize!= null), (that.fragmentSize!= null))) { return false;
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theFieldName; theFieldName = this.getFieldName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fieldName", theFieldName), currentHashCode, theFieldName, (this.fieldName!= null)); } { Integer theFragmentSize; theFragmentSize = this.getFragmentSize(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fragmentSize", theFragmentSize), currentHashCode, theFragmentSize, (this.fragmentSize!= null)); } { List<String> theMatchedFields; theMatchedFields = (((this.matchedFields!= null)&&(!this.matchedFields.isEmpty()))?this.getMatchedFields():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "matchedFields", theMatchedFields), currentHashCode, theMatchedFields, ((this.matchedFields!= null)&&(!this.matchedFields.isEmpty()))); } { Integer theNumOfFragments; theNumOfFragments = this.getNumOfFragments(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "numOfFragments", theNumOfFragments), currentHashCode, theNumOfFragments, (this.numOfFragments!= null)); } return currentHashCode; }
if (highlightFieldConfig.getFragmentSize() != null) highlightField.fragmentSize(highlightFieldConfig.getFragmentSize());
if (highlightFieldConfig.getFragmentSize() != null) highlightField.fragmentSize(highlightFieldConfig.getFragmentSize());
if (fragmentSizeShouldBeCopiedAndSet == Boolean.TRUE) { Integer sourceFragmentSize; sourceFragmentSize = this.getFragmentSize(); Integer copyFragmentSize = ((Integer) strategy.copy(LocatorUtils.property(locator, "fragmentSize", sourceFragmentSize), sourceFragmentSize, (this.fragmentSize!= null))); copy.setFragmentSize(copyFragmentSize);