Java: Hide parameters of summarized callables

This commit is contained in:
Tom Hvitved
2021-10-06 20:23:39 +02:00
committed by Anders Schack-Mulligen
parent 34fdf11b4b
commit 198b321158

View File

@@ -368,7 +368,11 @@ predicate isImmutableOrUnobservable(Node n) {
}
/** Holds if `n` should be hidden from path explanations. */
predicate nodeIsHidden(Node n) { n instanceof SummaryNode }
predicate nodeIsHidden(Node n) {
n instanceof SummaryNode
or
n.(ParameterNode).isParameterOf(any(SummarizedCallable c).asCallable(), _)
}
class LambdaCallKind = Method; // the "apply" method in the functional interface