I don't think this is the right test...

you should do something like `if (superclass instanceof ParameterizedType)`