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) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.