Java: Adapt TopJdpApi library to the re-factor.

This commit is contained in:
Michael Nebel
2023-01-04 10:35:17 +01:00
parent 372ecf402f
commit 8112058a0a
2 changed files with 8 additions and 3 deletions

View File

@@ -78,11 +78,11 @@ class TopJdkApi extends SummarizedCallableBase {
}
/** Holds if this API has a manual summary model. */
private predicate hasManualSummary() { this.(SummarizedCallable).hasProvenance(false) }
private predicate hasManualSummary() { this.(SummarizedCallable).isManual() }
/** Holds if this API has a manual neutral model. */
private predicate hasManualNeutral() {
this.(FlowSummaryImpl::Public::NeutralCallable).hasProvenance(false)
this.(FlowSummaryImpl::Public::NeutralCallable).isManual()
}
/** Holds if this API has a manual MaD model. */