Using Java Annotation Processor API for "Fun & Profit"

In this blog post, we’ll start by briefly explaining the purpose of annotation processors and how can we create and register one for fun (the profit will come later!). Grab a cup of coffee and let’s go! ☻ Annotation Processor First of all, I’ll assume you’re already familiar with annotations, if that’s not the case, feel free to read Oracle’s documentation[1] on it. Annotation Processors are essentially a mechanism designed to process annotations - I bet you did not expect this one - at compile time....

February 7, 2017 · 6 min · David Silva