Since 2006 Java was extended with JSR 269: Pluggable Annotation Processing API. A lot of projects utilize this to automate everyday tasks. A well-known example is Project Lombok. It helps out with generating recurring code templates for Constructor/Getter/Setter methods and Builders. In the session you will learn the basic usage patterns of Lombok. You will also dig deeper into how to write your own annotation processors. Session will show a working example of a translator that uses POJO class as input to generate data structures in TypeScript as an output for use in a REST API client. Session will also show how to generate custom documentation of your REST API directly from your code.

Talk Level:
INTERMEDIATE

Bio:
Ianislav Trendafilov is Staff Engineer at VMware. He has 16+ years of experience in IT industry - software and hardware project development, datacenter operations and architecture, telecom networks and IoT tinkering.