Java: update hasProvenance

This commit is contained in:
Jami Cogswell
2022-12-13 11:26:23 -05:00
parent 3da2fb933b
commit a33436a39b
6 changed files with 30 additions and 6 deletions

View File

@@ -249,7 +249,7 @@ module Public {
* Holds if the summary has the given provenance where `true` is
* `generated` and `false` is `manual`.
*/
predicate hasProvenance(boolean generated) { summaryElement(this, _, _, _, generated) }
predicate hasProvenance(boolean generated) { none() }
}
/** A callable where there is no flow via the callable. */
@@ -1018,6 +1018,10 @@ module Private {
}
override predicate isAutoGenerated() { this.relevantSummaryElementGenerated(_, _, _) }
override predicate hasProvenance(boolean generated) {
summaryElement(this, _, _, _, generated)
}
}
/** Holds if component `c` of specification `spec` cannot be parsed. */