Overview
OpenRewrite is an open-source automated refactoring ecosystem designed to eliminate technical debt in software repositories. It offers an auto-refactoring engine that executes prepackaged recipes for framework migrations, security fixes, and stylistic consistency. The engine leverages Abstract Syntax Trees (AST) to understand and transform code, ensuring precise and repeatable refactoring. It includes build tool plugins for Gradle and Maven, allowing developers to run recipes on individual repositories. Recipes can be customized for specific codebases. Moderne maintains OpenRewrite, with the refactoring engine and recipes remaining open source. OpenRewrite supports languages such as Java, Kotlin, Groovy, YAML, and XML. Moderne also offers a commercial platform to run OpenRewrite recipes efficiently on large codebases and multiple repositories, streamlining recipe customization and enabling large-scale impact analyses.
