Java Compiler Plugins provide a powerful way to extend and customize the compilation process, enabling advanced code analysis, validation, and transformations. This talk explores the architecture of Java Compiler Plugins, their integration with the Java Compiler (javac), and practical use cases where they enhance code quality, enforce coding standards, or introduce additional functionality. Key aspects of creating custom plugins, potential challenges, and real-world examples are presented to demonstrate their capabilities. Modifying compiler behavior through Java Compiler Plugins proves extremely beneficial when dealing with legacy code, as it facilitates automated code improvements, ensures compliance with modern standards, and reduces technical debt.

Talk Level:
ADVANCED

Bio:
Born to explore cutting-edge tech, but destined to support legacy software, Ivan is finding true relics, when recreating the past. And since the history is bound to repeat, his true fate is preaching Java through the fundamental concepts that are keeping the earth on their shoulders. For fifteen odd years, Ivan is combining technical trainings, software engineering and conferences all over the globe. He is the co-organizer of the ANZ conference ChurConf and is currently a Managing Partner in the software consultancy Codexio.