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

Predicate inferClassParameterType

Given an expression whose type is Class<T>, infer a possible set of types for T.

Import path

import semmle.code.java.Reflection
Type inferClassParameterType(Expr expr)