This is probably something very very easy, but I am struggling to figure it out.
For the given parameter declaration (appears in a constructor)
val keyFunction: Class<*>
How do I make the type constraint more specific, ie. keyFunction is a class that implements an interface
ValueGenerator<String> (instead of just
val keyFunction: Class<? extends ValueGenerator<*>>
but that will not compile