get_quick_fixes
Identify and apply quick fixes for Java code issues like unresolved types, unused imports, and unhandled exceptions by specifying the file path and line number.
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 |
|---|---|---|---|
| column | No | Zero-based column number (optional, uses whole line if omitted) | |
| line | Yes | Zero-based line number | |
| filePath | Yes | Path to source file |