find_callers
Identify all methods that directly invoke a specified method, with an option to filter out compiler-generated callers for cleaner analysis.
Instructions
Find all methods that directly call the given method.
Args:
method_fqn: Fully-qualified method name, e.g. ``com.example.Foo.bar``.
exclude_generated: When True, filter out Lombok/compiler-generated callers.
Returns:
List of dicts with keys ``fqn``, ``file_path``, ``line_start``.
Empty list if the method is not found or has no callers.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method_fqn | Yes | ||
| exclude_generated | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |