| Re: [jdt-dev] Process Jdk1.5 Annotations |
You can use a org.eclipse.jdt.core.dom.ASTParser. See the method setSource(ICompilationUnit). Then you can walk the tree to retrieve all annotations. Note that such questions should be asked on the Eclipse newsgroups. Olivier