commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From venkatesha m <ts_v_mur...@yahoo.com.INVALID>
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 <gudnabrsam@gmail.com> wrote:

 Subject: Re: [MATH] Introduce Lombok annotations into apache commons
 To: "Commons Developers List" <dev@commons.apache.org>
 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.
 
 Matt
 
 
 On Wed, Jun 18, 2014 at 2:40 PM, venkatesha m <ts_v_murthy@yahoo.com.invalid
 > wrote:
 
 > Hi,
 >
 > I would like to understand if there are any concerns
 regarding introducing
 > annotation libraries such as lombok(http://projectlombok.org/) to
 > commons-math .
 > The most advantages i have seen using it are as
 follows:
 >
 > a) A majority of code drudge such as equals, hashcode,
 getter and setter
 > can be had with @Data (with automatic static creation
 method)
 > b) The simple buty is you could set default access of
 variables as private
 > final so idont need to write private final at every
 place.
 > 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
 libs
 >
 > thanks
 > venkat
 >
 >
 ---------------------------------------------------------------------
 > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
 > For additional commands, e-mail: dev-help@commons.apache.org
 >
 >
 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message