MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / find

Function find

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

Source from the content-addressed store, hash-verified

476
477 const methods = cg.getNodesByKind('method');
478 const find = (cls: string, name: string) =>
479 methods.find((m) => m.name === name && m.filePath.endsWith(`${cls}.java`));
480
481 const action = find('UserAction', 'toLogin2');
482 const bo = find('UserBO', 'toLogin2');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected