Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lombok framework for Java by Eric Lefevre

SingaSUG
March 10, 2015

Lombok framework for Java by Eric Lefevre

SingaSUG

March 10, 2015
Tweet

More Decks by SingaSUG

Other Decks in Technology

Transcript

  1. Add lombok.jar to your classpath ...with Maven: <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId>

    <version>1.16.2</version> <scope>provided</scope> </dependency> How to make it work
  2. @Data and friends • @Getter & @Setter • @ToString •

    @EqualsAndHashCode • @NoArgsConstructor • @RequiredArgsConstructor • @AllArgsConstructor Features
  3. @Data and friends • @Getter & @Setter • @ToString •

    @EqualsAndHashCode • @NoArgsConstructor • @RequiredArgsConstructor • @AllArgsConstructor Features And... @Value
  4. Creative Commons License These slides are made available under the

    Creative Commons Attribution License. You may share, modify this document as much as you wish, as long as you give attribution to me. For example, include a link to http://ericlefevre.net/ somewhere. To the best of my knowledge, all the pictures included were also released under this same license. Links to originals are included. Details on the license: http://creativecommons.org/licenses/by/3.0/