Revert "Handle case when upper bound of WildcardType is TypeVariable"

This reverts commit e5d24daaa6f8382e829487eb8797483ee045f39a.
Revert "Test generic class"

This reverts commit 9ba48c4a3c648d3a3549c65b0e5b1ba505e0b531.