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; }
lhsFieldName = this.getFieldName(); String rhsFieldName; rhsFieldName = that.getFieldName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "fieldName", lhsFieldName), LocatorUtils.property(thatLocator, "fieldName", rhsFieldName), lhsFieldName, rhsFieldName, (this.fieldName!= null), (that.fieldName!= 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; }
HighlightBuilder.Field highlightField = new HighlightBuilder.Field(highlightFieldConfig.getFieldName());
HighlightBuilder.Field highlightField = new HighlightBuilder.Field(highlightFieldConfig.getFieldName());
if (fieldNameShouldBeCopiedAndSet == Boolean.TRUE) { String sourceFieldName; sourceFieldName = this.getFieldName(); String copyFieldName = ((String) strategy.copy(LocatorUtils.property(locator, "fieldName", sourceFieldName), sourceFieldName, (this.fieldName!= null))); copy.setFieldName(copyFieldName);