OpenRewrite is an automated refactoring ecosystem for source code , enabling developers to effectively eliminate technical debt within their repositories. It consists of an auto-refactoring engine that runs prepackaged, open-source refactoring recipes for common framework migrations, security fixes, and stylistic consistency tasks – reducing your coding effort from hours or days to minutes. Build tool plugins like the OpenRewrite Gradle plugin and the OpenRewrite Maven plugin help you run these recipes on one repository at a time. (Note: Any installation of external software or IDE plugin/extension is not required) Reference Link: Introduction to OpenRewrite | OpenRewrite by Moderne Types of Recipes A recipe can represent a single, stand-alone operation or it can be linked together with other recipes to accomplish a larger goal such as a framework migration. We can also write custom recipes: There are 2 ways to write custom recipes in OpenRewrite: Imperative Recipes: An imperative...
A blog for discussing and exploring technical insights and best practices in building enterprise-scale solutions.