code: public static String toMemberName(String words)
    {
      if(words == null) {
        return null;
      }
      if(words.isEmpty()) {
        return "";
      }
  
      String[] parts = words.split("-+");
      StringBuilder sb = new StringBuilder(parts[0]);
  
      for(int i = 1; i < parts.length; i++) {
        assert parts[i].length() > 0;
        sb.append(Character.toUpperCase(parts[i].charAt(0)));
        sb.append(parts[i].substring(1));
      }
      return sb.toString();
    }
docs: Convert dash separated words to Java class member name. Note that first character of returned member name is lower
  case, e.g. <code>this-is-a-string</code> is converted to <code>thisIsAString</code>.
  <p>
  Returns null if words argument is null and empty if empty.
  
  @param words string to convert.
  @return camel case member name.