commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From venkatesha m <>
Subject Re: [MATH] Introduce Lombok annotations into apache commons
Date Thu, 19 Jun 2014 15:30:53 GMT
I think lombok supports Oracle jdk, Open JDK and eclipse. 
Any one has any other comments about its use.

Lombok is an annotation processor and would commons weaver be able to take this in? or are
you saying one will need to start building lombok stuff within commons afresh?

On Thu, 19/6/14, Matt Benson <> wrote:

 Subject: Re: [MATH] Introduce Lombok annotations into apache commons
 To: "Commons Developers List" <>
 Date: Thursday, 19 June, 2014, 1:14 AM
 Lombok depends on a particular
 compiler, etc. Commons [weaver] provides a
 foundation for recreating anything that lombok does, AFAIK.
 On Wed, Jun 18, 2014 at 2:40 PM, venkatesha m <
 > wrote:
 > Hi,
 > I would like to understand if there are any concerns
 regarding introducing
 > annotation libraries such as lombok( to
 > commons-math .
 > The most advantages i have seen using it are as
 > a) A majority of code drudge such as equals, hashcode,
 getter and setter
 > can be had with @Data (with automatic static creation
 > b) The simple buty is you could set default access of
 variables as private
 > final so idont need to write private final at every
 > b) One could use @Builder annotation to automate the
 builder methods
 > c) @val and @sneakythrows are really cool
 > d) @synchonized lays out best practice of locking on
 new Object etc
 > e) @Log4j and log4j2 annotations doent need log
 variable declaration
 > f) Error messages is another beauty
 > Most code drudge is out with this. I feel immensely
 benefited with this.
 > Please let me know if there are any other commons
 equivalent for the same
 > if not please let know for any concerns on using these
 > thanks
 > venkat
 > To unsubscribe, e-mail:
 > For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message