void (StringBuffer resultingWords, String propertyWord) { if (!resultingWords.isEmpty()) { final char lastChar = resultingWords.charAt(resultingWords.length() - 1); if (Character.isLetterOrDigit(lastChar)) { propertyWord = StringUtil.capitalize(propertyWord); } } resultingWords.append(propertyWord); }