analyze_method
Analyze Java methods comprehensively by examining signatures, parameters, exceptions, call hierarchies, and override relationships in one operation.
Instructions
Comprehensive method analysis in a single call.
Combines:
Method info (signature, modifiers, return type)
Parameters with types
Declared exceptions
Incoming calls (who calls this method)
Outgoing calls (what this method calls)
Override information (super method, overriding methods)
Use this instead of multiple calls to get_method_at_position + call hierarchy tools.
IMPORTANT: Uses ZERO-BASED coordinates.
Requires load_project to be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to source file | |
| line | Yes | Zero-based line number | |
| column | Yes | Zero-based column number | |
| maxCallers | No | Maximum callers to return (default 20) | |
| maxCallees | No | Maximum callees to return (default 50) |