get_quick_fixes
List available fixes for Java code problems at specific positions, including import suggestions, unused import removal, and exception handling solutions.
Instructions
List available fixes for a problem at position.
USAGE: get_quick_fixes(filePath="...", line=10) OUTPUT: List of quick fixes with fixId, label, and category
Supported fixes:
UndefinedType: Suggest imports for unresolved types
UnusedImport: Remove unused import
UnhandledException: Add throws or surround with try-catch
IMPORTANT: Uses ZERO-BASED line numbers.
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 | No | Zero-based column number (optional, uses whole line if omitted) |