Interface INameEnvironmentWithProgress
- All Superinterfaces:
INameEnvironment
,INameEnvironmentExtension
- All Known Implementing Classes:
CancelableNameEnvironment
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.
This name environment can be canceled using the monitor passed as an argument to
setMonitor(IProgressMonitor)
.- Since:
- 3.6
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)
Set the monitor for the given name environment.Methods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.INameEnvironment
cleanup, findType, findType, isPackage
Methods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.INameEnvironmentExtension
findType, findType
-
Method Details
-
setMonitor
void setMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)Set the monitor for the given name environment. In order to be able to cancel this name environment calls, a non-null monitor should be given.- Parameters:
monitor
- the given monitor
-