if (strategy.matches(field) && hasFieldProperModifier(object, field)) { if (foundField != null) { throw new TooManyFieldsFoundException("Two or more fields matching " + strategy + ".");
if (strategy.matches(field) && hasFieldProperModifier(object, field)) { if (foundField != null) { throw new TooManyFieldsFoundException("Two or more fields matching " + strategy + ".");