> -----Original Message----- > From: Carsten Ziegeler [mailto:[email protected]] > Sent: Monday, June 25, 2012 11:03 PM > To: [email protected] > Subject: Re: Reimplementing the SCR Generator using annotation > processing (FELIX-3550) > > Hi, > > 2012/6/15 Robert Munteanu <[email protected]>: > > > > If I understand correctly one particular annotated class can also > depend on another annotated class and perhaps on files on the compiler > classpath . An annotation processing engine should be able to > > > > - supply complete type information when processing an annotated class > - this includes all superclasses and their annotations > > - supply all the classes which require compilation in the same > annotation processor invocation . One notable exception is Eclipse - > when running an incremental compilation only the changed classes are > set up for processing. > > > > Also, an annotation processor can be declared to handle multiple > annotations, so we don't have to implement one processor for each > annotation. For flexibility we can implement multiple annotation > handlers, but we will hook in a single class in the compilation > process. > > Yes, this was my understanding as well. > > I think its really worth exploring this, so if you (or someone else) > could come up with a prototype demonstrating that this way is > possible, it would be a great starting point for further discussions.
I should be able to prototype this approach in mid-July. Robert > > Regards > Carsten > > > > Robert > > > >> > >> Regards > >> Carsten > >> -- > >> Carsten Ziegeler > >> [email protected] > > > > -- > Carsten Ziegeler > [email protected]
