Using Quick Fix

To use the Quick Fix feature:

If you have the Window > Preferences > Java > Editor > Annotations > Indicate annotations solvable with Quick Fix in vertical ruler checkbox selected, then light bulb icons appear on the left-hand side vertical ruler to indicate Quick Fix'able problems. You can then click on one of the the light bulb icons to invoke Quick Fix.

Note: Occasionally, invoking Quick Fix will not suggest any corrections. A message saying 'No suggestions available' will be displayed in such cases.

Related concepts
Java editor
Available Quick Fix proposals

Related tasks
Using the Java editor

Related reference
Quick Fix

Legal notices