|
Eclipse JDT Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EclipseAnnotationProcessorEnvironment
Extended the APT AnnotationProcessorEnvironment to expose
extra API.
| Method Summary | |
|---|---|
void |
addTypeDependency(String fullyQualifiedTypeName)
Add a type dependency on the type named fullyQualifiedTypeName |
CompilationUnit |
getAST()
Return the AST of the file currently being processed. |
IJavaProject |
getJavaProject()
|
EclipseMessager |
getMessager()
|
Phase |
getPhase()
|
| Methods inherited from interface com.sun.mirror.apt.AnnotationProcessorEnvironment |
|---|
addListener, getDeclarationsAnnotatedWith, getDeclarationUtils, getFiler, getOptions, getPackage, getSpecifiedTypeDeclarations, getTypeDeclaration, getTypeDeclarations, getTypeUtils, removeListener |
| Method Detail |
|---|
CompilationUnit getAST()
null for if called by a batch processor.EclipseMessager getMessager()
getMessager in interface com.sun.mirror.apt.AnnotationProcessorEnvironmentPhase getPhase()
Phase.RECONCILE or Phase.BUILDIJavaProject getJavaProject()
void addTypeDependency(String fullyQualifiedTypeName)
fullyQualifiedTypeName
fullyQualifiedTypeName - the fully qualified (dot-separated) name of a type.
IllegalArgumentException - if fullyQualifiedTypeName cannot be resolved to a type.
|
Eclipse JDT Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||