Custom Annotation processing

73 views
Skip to first unread message

Balaji

unread,
Apr 27, 2012, 1:00:08 AM4/27/12
to Project Lombok
Hi, We are currently authoring a tool called factory_girl_java that is
similar to the ruby factory girl. We do annotation based code
generation. We need lombok to be invoked before our
AnnotationProcessor is invoked as we reflect upon the class to find
the getters setters etc. Is it possible to specify this to the java
compiler?

Reinier Zwitserloot

unread,
May 5, 2012, 12:44:38 PM5/5/12
to project...@googlegroups.com
Not as far as we know. I have no idea how javac determines which annotation processor runs first; presumably they don't fire up the random number generator. If there's anything we can do to enforce running earlier we'll add it to lombok but I'm not sure there's anything specific we can do.

Matt Fowles

unread,
May 5, 2012, 1:23:36 PM5/5/12
to project...@googlegroups.com
Reinier~

A likely guess would be in classpath order.

Matt

--
You received this message because you are subscribed to the Google
Groups group for http://projectlombok.org/
 
To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/project-lombok?hl=en

Reply all
Reply to author
Forward
0 new messages