I believe this check is not right =/ I think `type.getClass()` is `Class<?>` 
can you please check what is `parameterType` and `type.getClass()`?