code: public static String camelCaseQualifiedName(String fqn) {
      StringBuilder sb = new StringBuilder();
      for (String part : fqn.split("\\.")) {
        sb.append(capitalize(part));
      }
      return sb.toString();
    }
docs: Given a period-separated name, return as a camel-cased type name.  For
  example, java.util.logging.Level is returned as JavaUtilLoggingLevel.