Reading Java Annotations on the fly

A guide for using Java Reflections API to read annotations and perform actions based on them, which is part of a three-article series.

Nadun De Silva
Javarevisited
Published in
5 min readOct 27, 2018

--

Photo by Clément Hélardot on Unsplash

Java Reflections API allows the code you write to inspect another piece of code. This gives you immense power over the programs you write, even to the extent of invoking private…

--

--

Nadun De Silva
Javarevisited

Senior Software Engineer at Orion Health | CKAD | CKA | Cloud and Deep Learning Enthusiast | https://nadundesilva.github.io