QFC-9899 Annotation Processor, the power of byte code manipulation without its guru dark side | Devoxx

Annotation Processor, the power of byte code manipulation without its guru dark side

Quickie

java Java, JVM, Java SE/EE Click here to save this talk in your agenda

Room 2

Thursday at 12:30 - 12:45

Most Java programmers know that byte code manipulation enable advanced features of Java like source code generation, automatic accessors creation, transparent proxies etc ...

The power of byte code comes with its drawback e.g. the inherent complexity of the byte code language itself.

But few people think about Annotation Processing that allows arbitrary code generation at compile time and enables a complete type safe code.

We'll demonstrate this feature with a simple sample using JavaPoet and Google Compile Testing libraries

DuyHai DOAN DuyHai DOAN

DuyHai Doan is a Cassandra technical advocate. He spends his time between technical presentations/meetups on Cassandra, coding on open source projects to support the community and helping all companies using Cassandra to make their project successful. Previously he was working as a freelance Java/Cassandra consultant