Recipes
A technical overview of recipes and the lifecycle surrounding them. Includes example code and diagrams.
Lossless semantic trees
An in-depth technical document describing what lossless semantic trees are and how they're used.
LST examples
3 items
Type attribution
Understanding how OpenRewrite enriches code with type information for accurate transformations.
Visitors
A technical overview of visitors and related concepts.
Cursors
A comprehensive guide to the Cursor API, tree navigation, and inter-visitor messaging in OpenRewrite.
Markers
A technical overview of the markers and how to configure/use them.
Traits
A technical overview of traits along with real-world examples of their uses.
Styles
A technical overview of styles – including when to use them and how to configure them.
JavaTemplate
A technical overview of what JavaTemplates are and how to use them.
TreeVisitingPrinter
Demonstrates how to programmatically print out an LST to better understand what an LST looks like.
Quarks
A brief explanation of a Quark.