Typing Runnable r= new Runnable(<code assist>
provides
an anonymous type completion that inserts the corresponding method stubs.
Code Assist works in Javadoc comments.
Javadoc code assist works not only for tags, but you can also do the
following:
@see TestCase#<code assist>
proposes methods declared in TestCase
@exception <code assist>
proposes exceptions thrown by the method.
Code assist in method declarations
public class Subclass extends SuperClass {<code assist>
proposes all the methods that can be overridden and inserts corresponding
method declarations
Activating code assist in the class body (not in a method) allows you to insert inherited methods.
When you type a new type name e.g. JTable<code assist>
the import statement is added to the compilation unit.
Code assist works in import statements and presents a list of packages and types.
Code assist suggests variable names: URL <code assist>
suggests url
as a possible variable name.
Code assist can be activated automatically. Select the Window > Preferences
> Java > Editor > Code Assist > Enable auto activation checkbox.