CodeQL library for Java/Kotlin
codeql/java-all 1.1.0 (changelog, source)

Member predicate GenericType::getAParameterizedType

Gets a parameterization of this generic type, where each use of a formal type parameter has been replaced by its argument.

For example, List<Number> is a parameterization of the generic type List<E>, where E is a type parameter.

ParameterizedType getAParameterizedType()