public class EnvironmentFactory extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
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 created
javaProject- 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.