String (@NotNull final String name, boolean uppercaseFirstLetter) { final List<String> strings = StringUtil.split(name, "_"); if (strings.size() > 0) { final StringBuilder buf = new StringBuilder(); String str = StringUtil.toLowerCase(strings.get(0)); if (uppercaseFirstLetter) str = StringUtil.capitalize(str); buf.append(str); for (int i = 1; i < strings.size(); i++) { buf.append(StringUtil.capitalize(StringUtil.toLowerCase(strings.get(i)))); } return buf.toString(); } return name; }