Files
codeql/java/ql/test/library-tests/multiply-bounded-wildcards/test.ql
Chris Smowton d999c1d3dd Java: Add test for multiply-bounded wildcards
This exercises several cases of variables bounded both by a wildcard and by a bound on the type parameter, checking that the extractor strips the wildcards and captures to decide on a concrete type for the parameters and return values.
2022-11-07 10:29:04 +00:00

6 lines
179 B
Plaintext

import java
from MethodAccess ma
select ma.getCallee(), ma.getCallee().getDeclaringType(), ma.getCallee().getReturnType().toString(),
ma.getCallee().getAParamType().toString()