We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b926bc9 commit 5a56bb9Copy full SHA for 5a56bb9
java/ql/src/Advisory/Deprecated Code/AvoidDeprecatedCallableAccess.ql
@@ -20,7 +20,7 @@ private predicate isDeprecatedCallable(Callable c) {
20
21
from Call ca, Callable c
22
where
23
- ca.getCallee() = c and
+ ca.getCallee().getSourceDeclaration() = c and
24
isDeprecatedCallable(c) and
25
// Exclude deprecated calls from within deprecated code.
26
not isDeprecatedCallable(ca.getCaller())
0 commit comments