Automated Code Refactoring and Modernization with OpenRewrite: Build reusable recipes for scalable migrations, technical debt reduction, and code transformation
Automate repetitive code refactoring and migrations with reusable recipes that make large-scale code changes faster, safer, and more consistent. Key Features Automate repetitive refactoring and migrations across codebases Create declarative, Refaster template, and imperative recipes Apply custom transformations through your existing build pipeline Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionAutomate repetitive refactoring and make large-scale code changes consistent and scalable with OpenRewrite. This book shows you how to use existing recipes and create your own transformations, helping you modernize codebases while significantly reducing the time and errors associated with manual changes. You’ll begin with lossless semantic trees (LSTs), recipes, visitors, and styles to understand how OpenRewrite represents and transforms source code. You’ll then learn to find, configure, compose, and run recipes, add recipe sources, and integrate transformations with your build pipeline. Next, you’ll create declarative recipes and Refaster templates before progressing to imperative recipes. You’ll work with visitors, cursors, shared data, non-isomorphic transformations, configuration options, testing, validation, and multiple visitors. All examples are visualized using Java as a programming language. Written by freelance software engineer Ansgar Schulte, who brings many years of project experience and has taught more than 15,000 students, this book connects OpenRewrite concepts with techniques you can apply to real projects. By the end, you’ll be able to automate recurring refactoring tasks and build reusable recipes for your own codebases.What you will learn Understand recipes, visitors, styles, and LSTs Find, configure, compose, and run OpenRewrite recipes Add and use new recipe sources in your projects Create declarative and Refaster template recipes Build imperative recipes with visitors and cursors Test, validate, and configure custom recipes Understand isomorphic and non-isomorphic visitors Implement complex transformations with multiple visitors Integrate automated refactoring into build pipelines Who this book is forSoftware developers and solution architects who spend significant time on manual refactoring, migrations, or technical debt reduction will benefit from this book. You should understand Java syntax and have access to a Java development environment with a JDK, IDE, and build tool. No previous OpenRewrite knowledge or refactoring experience is required.
-
Autore:
-
Editore:
-
Anno:2026
-
Rilegatura:Paperback / softback
-
Pagine:178 p.
Le schede prodotto sono aggiornate in conformità al Regolamento UE 988/2023. Laddove ci fossero taluni dati non disponibili per ragioni indipendenti da Feltrinelli, vi informiamo che stiamo compiendo ogni ragionevole sforzo per inserirli. Vi invitiamo a controllare periodicamente il sito www.lafeltrinelli.it per eventuali novità e aggiornamenti.
Per le vendite di prodotti da terze parti, ciascun venditore si assume la piena e diretta responsabilità per la commercializzazione del prodotto e per la sua conformità al Regolamento UE 988/2023, nonché alle normative nazionali ed europee vigenti.
Per informazioni sulla sicurezza dei prodotti, contattare productsafety@feltrinelli.it