As you type characters into an eclipse editor it analyzes the document content for potential error and warnings. The java editor uses the java syntax to detect errors in the code. When it finds error or warning, it −
Problem
view.The quick fix dialog provides a list of possible corrections. The quick fix dialog can be invoked by −
Ctrl + 1.
In the above diagram, getId is highlighted because the Person class does not have a method called getId(). Selecting Create method 'getId()' in type 'Person'
would cause the getId() method to be added to the Person class.
The Quick Fix dialog can also be displayed by right clicking on the error item in the Problems view and selecting the Quick Fix menu item.