Press Ctrl+Space after extends Animal
.
Eclipse will display both classes in a dialog. Select the one you want and Eclipse will change the sources accordingly to make it happen.
If you want to insert the full name, double click on the Java type (i.e. Animal
), open the context menu, press Y (Copy Qualified Name) and Ctrl+V.