xref_callers
Find all callers of a module or function for impact analysis before refactoring. Answers: 'What depends on this?'
Instructions
Find all callers of a module or function across the project — "what depends on this?"
WHEN TO USE: Impact analysis before refactoring. "What breaks if I change this function?" "Who calls this module?" NOT FOR: Understanding what a function does (use get_docs). Seeing runtime call flow (use trace_calls).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | Module or Module.function/arity (e.g. "Merlinex.Core.Manager" or "Enum.map/2") |