CodeQL library for Java/Kotlin
codeql/java-all 4.1.1-dev (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)