MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / find

Function find

__tests__/frameworks-integration.test.ts:371–372  ·  view source on GitHub ↗
(cls: string, name: string)

Source from the content-addressed store, hash-verified

369
370 const methods = cg.getNodesByKind('method');
371 const find = (cls: string, name: string) =>
372 methods.find((m) => m.name === name && m.filePath.endsWith(`${cls}.java`));
373
374 const action = find('UserAction', 'toLogin2');
375 const bo = find('UserBO', 'toLogin2');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected