how to can I compare parameterType (Class<?>) with Type?