String (@NotNull Key<?> key) { StringBuilder buffer = new StringBuilder(); String s = key.toString(); for (int i = 0; i < s.length(); i++) { char currChar = s.charAt(i); if (Character.isUpperCase(currChar)) { if (i != 0) { buffer.append(' '); } buffer.append(StringUtil.toLowerCase(currChar)); } else { buffer.append(currChar); } } return buffer.toString(); }