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 5ad332e commit 718c0abCopy full SHA for 718c0ab
java/ql/lib/semmle/code/java/Overlay.qll
@@ -88,7 +88,17 @@ private string baseConfigLocatable(@configLocatable el) {
88
not isOverlay() and result = getRawFileForConfig(el)
89
}
90
91
+overlay[local]
92
+private predicate overlayConfigExtracted(string file) {
93
+ isOverlay() and
94
+ exists(@configLocatable el | file = getRawFileForConfig(el))
95
+}
96
+
97
overlay[discard_entity]
98
private predicate discardBaseConfigLocatable(@configLocatable el) {
99
overlayChangedFiles(baseConfigLocatable(el))
100
+ or
101
+ // The config extractor is currently not incremental and may extract more
102
+ // property files than those included in overlayChangedFiles.
103
+ overlayConfigExtracted(baseConfigLocatable(el))
104
0 commit comments