[webbeans-dev] AST processing

Max Rydahl Andersen max.andersen at redhat.com
Tue Mar 10 08:46:06 EDT 2009


Tell you annotation processor to react to * then it will be called for 
all types AFAIK.

That will of course have performance implications.

/max
>
> On 10 Mar 2009, at 12:12, Nicklas Karlsson wrote:
>
>> Hi,
>>
>>  I'm currently looking at https://jira.jboss.org/jira/browse/WBRI-166
>> for generating XSD of the packages
>>
>>  Annotation processors can easily be plugged in with -processor (and
>> in Eclipse) but they aren't run if there aren't any annotations and we
>> are interested in the whole package. There is the Compiler Tree API
>> from Sun that can be used for visiting compiled files but there is no
>> way
>> of plugging it into the compilation process automagically, is there?
>
> Also, this a Sun API, not a java API (so only works with Sun Java) I 
> think.
>
>>
>> Is there any other way of observing the compilation process?
>>
>> ---
>> Nik
>> _______________________________________________
>> webbeans-dev mailing list
>> webbeans-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
> -- 
> Pete Muir
> http://www.seamframework.org
> http://in.relation.to/Bloggers/Pete
>
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev




More information about the weld-dev mailing list