Interesting; I apparently hadn't looked at Lombok apparently since they've
added the @DoPrivileged annotation (pretty sure it wasn't always there).
My problem with Lombok is that, as I understand it, they have to resort to
"tricks" due to the limitations of the public annotation processing APIs,
they are only compatible with the Oracle compiler, have problems when used
with other technologies e.g. AspectJ (IIRC).  If not for these shortcomings
(and I have no doubt the Lombok team would have done things "correctly"
were that option open to them) I would have been using Lombok long ago.

Matt


On Thu, Nov 29, 2012 at 9:15 AM, Gary Gregory <garydgreg...@gmail.com>wrote:

> Lombok features feels like they could belong in [lang].
>
> Gary
>
>
> On Thu, Nov 29, 2012 at 9:10 AM, Emmanuel Bourg <ebo...@apache.org> wrote:
>
> > This components reminds me of Project Lombok [1]. As I understand the
> > approach is different, Lombok uses JavaC annotations to generate the
> > additional code at compile time, while Privilizer post process the class
> > files with Javassist and works at the bytecode level.
> >
> > Lombok has a @DoPrivileged annotation, as well as many other ones
> > [2][3]. The one I find very useful is the @SwingInvokeLater annotation
> > [4] to ensure the code runs on the UI thread. That's a killer feature
> > when developing Swing applications.
> >
> > Maybe the scope of [privilizer] could be widened to other annotations
> > post processing? I don't know if it's worth competing with Lombok though.
> >
> >
> > Emmanuel Bourg
> >
> >
> > [1] http://projectlombok.org
> > [2] http://projectlombok.org/features
> > [3] https://github.com/peichhorn/lombok-pg/wiki
> > [4] http://peichhorn.github.com/lombok-pg/SwingInvoke.html
> >
> >
> > Le 28/11/2012 21:44, Matt Benson a écrit :
> > > Hi all,
> > >   As long as I've been part of the Commons community I don't know that
> > I've
> > > encountered this exact situation:  a committer adds some code to the
> > > sandbox that is more or less complete.  I don't know precisely what
> > > requirements must be met before we promote [privilizer] to proper. We
> > seem
> > > to have interest from one or more members of the PMC as prospective
> > users;
> > > this would seem to imply that were I hit by a bus there ought to be
> > someone
> > > interested in maintaining the component.  Speaking for BVal I intend to
> > put
> > > this component to immediate use there (that's what I wrote it for!).
> >  Mark
> > > has mentioned that OWB and perhaps other ASF projects might want to
> make
> > > use of it.  What else do I need to do?
> > >
> > > Matt
> > >
> >
> >
> >
>
>
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>

Reply via email to