[jbosstools-dev] Seam Scanner for class files

Max Rydahl Andersen max.andersen at redhat.com
Wed Jul 11 01:58:56 EDT 2007


Viacheslav Kabanovich wrote:
>> parse the source
> 
> I use class loader for .jar entries only. 
> Java sources (all java defined by user) are processed with 
> ASTParser as jdt does it, but ASTParser cannot process 
> binary entries. 

ah ok - so its only in context of Jar you have issues.
Then yes, something like classfilereader or javassist should
be used to get these informations.

> What is APT, can it used for binary entries?

APT = Annotation Processor Tool is a tool and api in java to
be able to process annotations in classes. Eclipse contains a
implementation that allows you to use the same api but I think
it only covers source code - not binary entries.

/max



More information about the jbosstools-dev mailing list