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)
Given an expression whose type is Class<T>
, infer a possible set of types for T
.
import semmle.code.java.Reflection
Type inferClassParameterType(Expr expr)