Java: annotate a query as not selecting sources

This is for performance in diff-informed mode but also for avoiding
spurious entries in the code scanning timeline and alert list.
This commit is contained in:
Jonas Jensen
2025-01-20 14:55:35 +01:00
parent 2b1c70c33b
commit eacc600b29

View File

@@ -46,6 +46,12 @@ module WebviewDebugEnabledConfig implements DataFlow::ConfigSig {
}
predicate observeDiffInformedIncrementalMode() { any() }
Location getASelectedSourceLocation(DataFlow::Node source) {
// This module is only used in `WebviewDebuggingEnabled.ql`, which doesn't
// select the source in any "$@" column.
none()
}
}
/**