#306 IllegalArgumentException due to void type parameter

While this may work, I'm wondering whether it's the "right" thing to do.

Requesting `Class<void>` is in general a legitimate case, so I think this method should be able to handle it (also if we may not need it atm.). Shouldn't void methods be excluded much earlier in the matching routine?