Content/Code Assist

In the Java editor press Ctrl + Space on code to complete. This opens a list of available code completions. Some tips for using code assist are listed in the following paragraph:

An editor showing a content assist and Javadoc window at the caret position

Configure the behavior of the content assist in the Java > Editor > Code Assist preference page.

Java editor
Java development tools (JDT)

Edit menu
Java editor preferences
Templates preferences