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_mur...@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-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > >