public class EnvironmentFactory extends Object
| Constructor and Description |
|---|
EnvironmentFactory() |
| Modifier and Type | Method and Description |
|---|---|
static AnnotationProcessorEnvironment |
getEnvironment(ICompilationUnit compilationUnit,
IJavaProject javaProject)
Return a processor environment for use outside of building or reconciling.
|
public static AnnotationProcessorEnvironment getEnvironment(ICompilationUnit compilationUnit, IJavaProject javaProject)
If either getFiler() or getMessager() are called, this environment will throw an UnsupportedOperationException.
compilationUnit - the working copy for which the Environment object is to be createdjavaProject - the java project that the working copy is in.Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.