code: public static ResourceKey key(Class<?> clazz, Enum<?> value) {
          return new ResourceKey(clazz.getName(), value.name());
      }
docs: Creates a resource key with id defined as enumeration value name and bundle specified by given class.
  @param clazz the class owning the bundle
  @param value enumeration value used to define key id
  @return the resource key