Class NameLookup

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.NameLookup
All Implemented Interfaces:
SuffixConstants

public class NameLookup extends Object implements SuffixConstants
A NameLookup provides name resolution within a Java project. The name lookup facility uses the project's classpath to prioritize the order in which package fragments are searched when resolving a name.

Name lookup only returns a handle when the named element actually exists in the model; otherwise null is returned.

There are two logical sets of methods within this interface. Methods which start with find* are intended to be convenience methods for quickly finding an element within another element; for instance, for finding a class within a package. The other set of methods all begin with seek*. These methods do comprehensive searches of the IJavaProject returning hits in real time through an IJavaElementRequestor.