No. I was making the general point that if the type in question here was generic, which it is not, ParameterizedType.getActualTypeArguments() would be the way to deal with that.