We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51dfb31 commit 30a891cCopy full SHA for 30a891c
2 files changed
java/ql/src/Telemetry/ExternalApi.qll
@@ -69,7 +69,7 @@ class ExternalApi extends Callable {
69
70
/** Holds if this API has a supported summary. */
71
predicate hasSummary() {
72
- this instanceof SummarizedCallable or
+ this = any(SummarizedCallable sc).asCallable() or
73
TaintTracking::localAdditionalTaintStep(this.getAnInput(), _)
74
}
75
java/ql/src/Telemetry/UnsupportedExternalAPIs.ql
@@ -14,7 +14,7 @@ import ExternalApi
14
private predicate relevant(ExternalApi api) {
15
not api.isUninteresting() and
16
not api.isSupported() and
17
- not api instanceof FlowSummaryImpl::Public::NegativeSummarizedCallable
+ not api = any(FlowSummaryImpl::Public::NegativeSummarizedCallable nsc).asCallable()
18
19
20
from string apiName, int usages
0 commit comments