mq-java-exporter icon indicating copy to clipboard operation
mq-java-exporter copied to clipboard

Using Lombok

Open willardgibbs opened this issue 6 years ago • 0 comments

Cool features:

  1. @Log4j2 vs private static final Logger logger = LogManager.getLogger(ClassName.class);
  2. @Getter and @Setter on class or field. These annotations are generated by getters and setters based on the field name. This will reduce the amount of code and make it better to think about the names of variables.
  3. @NoArgsConstructor, @RequiredArgsConstructor and @AllArgsConstructor
  4. @Data - do all for you :-)
  5. FYI: https://projectlombok.org/

willardgibbs avatar Apr 18 '19 06:04 willardgibbs