Shouldn't it be possible to introspect the class of the Enum by looking at the type of the property? Instead of having this Parameter called "enumClassName"?