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 34fdf11 commit 198b321Copy full SHA for 198b321
java/ql/lib/semmle/code/java/dataflow/internal/DataFlowPrivate.qll
@@ -368,7 +368,11 @@ predicate isImmutableOrUnobservable(Node n) {
368
}
369
370
/** Holds if `n` should be hidden from path explanations. */
371
-predicate nodeIsHidden(Node n) { n instanceof SummaryNode }
+predicate nodeIsHidden(Node n) {
372
+ n instanceof SummaryNode
373
+ or
374
+ n.(ParameterNode).isParameterOf(any(SummarizedCallable c).asCallable(), _)
375
+}
376
377
class LambdaCallKind = Method; // the "apply" method in the functional interface
378
0 commit comments