Instantiates a ReflectionEnumBackedCase object
$class
$constant
class
An enum instance or a name.
constant
An enum constant name.