code: public Map<String, Enum<?>> getEnumRenames(Class<?> type) {
          if (type == null) {
              throw new IllegalArgumentException("type must not be null");
          }
          Map<String, Enum<?>> map = enumRenames.get(type);
          if (map == null) {
              return new HashMap<String, Enum<?>>();
          }
          return new HashMap<String, Enum<?>>(map);
      }
docs: Gets the map of renamed for an enum type.
  <p>
  An empty map is returned if there are no renames.
  
  @param type  the enum type, not null
  @return a copy of the set of enum renames, not null