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