Files
codeql/java/ql/test/library-tests/dispatch/viableCallable.ql
2023-10-24 10:30:26 +01:00

11 lines
342 B
Plaintext

import java
import semmle.code.java.dispatch.VirtualDispatch
from MethodCall ma, Method m
where
ma.getFile().toString().matches("ViableCallable%") and
ma.getMethod().getSourceDeclaration().fromSource() and
m = viableImpl(ma)
select ma, m.toString(), m.getDeclaringType().getLocation().getStartLine(),
m.getDeclaringType().toString()