code: public static ResourceKey key(Enum<?> value) {
          return new ResourceKey(value.getClass().getName(), value.name());
      }
docs: Creates a resource key for given enumeration value. By convention,
  resource bundle for enumerations has the name of enumeration class
  and value identifier is the same as enumeration value name.
  @param value the enumeration value
  @return the resource key