find_method_references
Locate all method reference expressions (Foo::bar syntax) in Java code to analyze functional programming patterns and lambda-style usages for refactoring.
Instructions
Find all method reference expressions (Foo::bar lambda syntax).
JDT-UNIQUE: This fine-grained search is not available in LSP.
USAGE: Position on a method, or provide method details OUTPUT: All locations where the method is used as a method reference
Useful for:
Understanding functional programming patterns
Finding lambda-style usages of methods
Refactoring analysis
IMPORTANT: Uses ZERO-BASED coordinates.
Requires load_project to be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to source file containing the method | |
| line | Yes | Zero-based line number of the method | |
| column | Yes | Zero-based column number | |
| maxResults | No | Maximum results to return (default 100) |