Interface INameEnvironment

All Known Subinterfaces:
IModuleAwareNameEnvironment, INameEnvironmentExtension, INameEnvironmentWithProgress
All Known Implementing Classes:
CancelableNameEnvironment, CodeSnippetEnvironment, FileSystem, JavaSearchNameEnvironment, NameEnvironment, SearchableEnvironment, StatefulNameEnvironment

public interface INameEnvironment
The name environment provides a callback API that the compiler can use to look up types, compilation units, and packages in the current environment. The name environment is passed to the compiler on creation.

In JLS diction a name environment implements a "host system", with these responsibilities:

  • Determine which packages and compilation units are "observable" (JLS 7.3 and 7.4.3)
  • Determine to which module a given compilation unit / package is associated (JLS 7.3)

Note: This internal interface has been implemented illegally by the org.apache.jasper.glassfish bundle from Orbit, see bug 500211. Avoid changing the API or supply default methods to avoid breaking the Eclipse Help system.