mirror of
https://github.com/github/codeql.git
synced 2026-03-01 13:23:49 +01:00
8 lines
236 B
Plaintext
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()
|