In the default Java editor, the JDT includes syntax highlighting to help with navigation and editing.
Syntax Highlighting Example