public static ResourceKey key ( Class < ? > clazz , Enum < ? > value ) { return new ResourceKey ( clazz . getName ( ) , value . name ( ) ) ; }
Creates a resource key with id defined as enumeration value name and bundle specified by given class .