code: public static synchronized void setName(Class writableClass, String name) {
      CLASS_TO_NAME.put(writableClass, name);
      NAME_TO_CLASS.put(name, writableClass);
    }
docs: Set the name that a class should be known as to something other than the
  class name.