CodeQL library for Java
Search

Member predicate ParameterizedType::getErasure

The erasure of a parameterized type is its generic counterpart.

For example, the erasure of both X<Number> and X<Integer> is X<T>.

RefType getErasure()