How do I locate a Java class in Eclipse?
Author: Deron Eriksson
Description: This tutorial describes how to find a Java class in Eclipse using the Open Type tool
Tutorial created using: Windows XP || JDK 1.5.0_09 || Eclipse Web Tools Platform 2.0 (Eclipse 3.3.0)

The Open Type tool in EclipseSW is extremely useful when you need to find a particular JavaSW class or interface that exists in a project or library referenced somewhere in your workspace. It can be a very handy tool for figuring out the jarW file that contains a particular Java class. This is useful when you're trying to configure project classpathW dependencies.

The Open Type pop-up window is shown below. It can be started by hitting Control-Shift-T (although you may not be able to execute it in certain perspectives). As you type the desired type name into the text box, the tool shows you all of the matching items. Below, we can see all the BasicConfigurator references in our workspace.

Open Type window

Here, we can see the matches to "ProgressL", which include the ProjectListener interface in commons-fileupload-1.2.jar.

Open Type window

The Open Type tool can be opened by clicking on its button, shown here.

Open Type button