* The calls of `receiver` in `method` that resolution guessed at or failed * on. A confident edge on a parameter's name is a local's: its own pass typed * it.
(method: FlowMethod, receiver: string)
| 285 | * it. |
| 286 | */ |
| 287 | private sitesOn(method: FlowMethod, receiver: string): FlowSite[] { |
| 288 | return [ |
| 289 | ...this.sites(this.queries.getCallEdges({ source: method.id }, this.methods)).filter((site) => site.viaFlow || site.confidence < 0.85), |
| 290 | ...this.sites(this.queries.getFailedCallSites(this.language, { callerId: method.id })), |
| 291 | ].filter((site) => site.receiver === receiver); |
| 292 | } |
| 293 | |
| 294 | private family(method: FlowMethod): Set<string> { |
| 295 | const key = `${method.qualifiedName}\0${method.isStatic}`; |
no test coverage detected