Files
codeql/java/ql/test/library-tests/wildcard-substitution/test.ql
2022-07-28 15:51:59 +01:00

8 lines
236 B
Plaintext

import java
Type notVoid(Type t) { result = t and not result instanceof VoidType }
from Callable c
where c.getSourceDeclaration().fromSource()
select c.getDeclaringType(), c, notVoid([c.getAParamType(), c.getReturnType()]).toString()