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:
Ivan Yonkov is the CEO of the software consultancy Codexio and is proactively preaching Java to the Bulgarian Community for a decade. Beside being a software developer for more than 10 years, he’s also a professional software trainer, with various presences in formal universities, and also was a Trainer and Training Director at SofUni for around 5 years. This experience is mostly evident at Codexio, where three internship training camps per year are organized.