(rows: CallSiteRow[])
| 234 | ) {} |
| 235 | |
| 236 | private sites(rows: CallSiteRow[]): FlowSite[] { |
| 237 | const sites: FlowSite[] = []; |
| 238 | for (const row of rows) { |
| 239 | const call = this.adapter.readCall(row.refName); |
| 240 | if (!call) continue; |
| 241 | const site = row as FlowSite; |
| 242 | site.method = call.method; |
| 243 | site.receiver = call.receiver; |
| 244 | sites.push(site); |
| 245 | } |
| 246 | return sites; |
| 247 | } |
| 248 | |
| 249 | /** The resolved calls that landed on `method`. */ |
| 250 | private callsInto(method: FlowMethod): FlowSite[] { |
no test coverage detected