Qualified names of what the method `name` in `file` calls.
(file: string, name: string)
| 141 | |
| 142 | /** Qualified names of what the method `name` in `file` calls. */ |
| 143 | function callees(file: string, name: string): string[] { |
| 144 | const from = cg.getNodesInFile(file).find((n) => n.kind === 'method' && n.name === name)!; |
| 145 | return cg |
| 146 | .getOutgoingEdgesFrom([from.id]) |
| 147 | .filter((e) => e.kind === 'calls') |
| 148 | .map((e) => cg.getNode(e.target)!.qualifiedName) |
| 149 | .sort(); |
| 150 | } |
| 151 | |
| 152 | describe('Java: an interface constant', () => { |
| 153 | it('is indexed, as a static final field is', () => { |
no test coverage detected