---
title: "#openrewrite articles | Hashnode"
description: "Explore 8 articles tagged #openrewrite on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/openrewrite"
---

Tag

# #openrewrite

8 posts · 0 followers

[Nicolas Fränkel](https://hashnode.com/@nfrankel) · [Jun 26, 2025](https://hashnode.com/posts/testing-an-openrewrite-recipe/685c8dae9a575c099d5f94c3)

### [Testing an OpenRewrite recipe](https://frankel.hashnode.dev/testing-an-openrewrite-recipe?utm_source=hashnode&utm_medium=feed)

For the last two weeks, I've kicked the tires of OpenRewrite. At first, I created a recipe to move Kotlin source files as per the official recommendations with a set package name. I then improved the recipe to compute the root automatically. In both ...

6 min read · [frankel.hashnode.dev](https://frankel.hashnode.dev/testing-an-openrewrite-recipe?utm_source=hashnode&utm_medium=feed)

[Nicolas Fränkel](https://hashnode.com/@nfrankel) · [Jun 19, 2025](https://hashnode.com/posts/improving-my-previous-openrewrite-recipe/6853532562612aeef10eab77)

### [Improving my previous OpenRewrite recipe](https://frankel.hashnode.dev/improving-my-previous-openrewrite-recipe?utm_source=hashnode&utm_medium=feed)

I started discovering OpenRewrite last week by writing a Kotlin recipe that moves Kotlin files according to the official directory structure recommendation. I mentioned some future works, and here they are. In this post, I want to describe how to com...

7 min read · [frankel.hashnode.dev](https://frankel.hashnode.dev/improving-my-previous-openrewrite-recipe?utm_source=hashnode&utm_medium=feed)

[Nicolas Fränkel](https://hashnode.com/@nfrankel) · [Jun 12, 2025](https://hashnode.com/posts/authoring-an-openrewrite-recipe/684a18999ad391d55cce945b)

### [Authoring an OpenRewrite recipe](https://apisix.hashnode.dev/authoring-an-openrewrite-recipe?utm_source=hashnode&utm_medium=feed)

I've been eying OpenRewrite for some time, but I haven't had time to play with it yet. In case you never heard about OpenRewrite, OpenRewrite takes care of refactoring your codebase to newer language, framework, and paradigm versions. OpenRewrite is...

6 min read · [apisix.hashnode.dev](https://apisix.hashnode.dev/authoring-an-openrewrite-recipe?utm_source=hashnode&utm_medium=feed)

[BitFlipper](https://hashnode.com/@Opposite5303) · [Apr 18, 2024](https://hashnode.com/posts/openrewrite-javatemplate-throws-arrayindexoutofbounds/662138ccd03c18f8804d55c2)

### [Fixing JavaTemplate Throwing ArrayIndexOutOfBounds](https://bitflippers.hashnode.dev/openrewrite-javatemplate-throws-arrayindexoutofbounds?utm_source=hashnode&utm_medium=feed)

Debug java.lang.ArrayIndexOutOfBoundsException in OpenRewrite's JavaTemplates. These exceptions are caused by mismatched substitution indicators.

2 min read · [bitflippers.hashnode.dev](https://bitflippers.hashnode.dev/openrewrite-javatemplate-throws-arrayindexoutofbounds?utm_source=hashnode&utm_medium=feed)

[BitFlipper](https://hashnode.com/@Opposite5303) · [Apr 11, 2024](https://hashnode.com/posts/how-to-resolve-expected-recipe-cycle-mismatch/6617c81f07c81bfea43ceb1b)

### [How to resolve expected recipe cycle mismatch](https://bitflippers.hashnode.dev/how-to-resolve-expected-recipe-cycle-mismatch?utm_source=hashnode&utm_medium=feed)

Fix OpenRewrite cycle mismatch errors by adjusting testing cycles or refining your recipe for more efficient AST updates

4 min read · [bitflippers.hashnode.dev](https://bitflippers.hashnode.dev/how-to-resolve-expected-recipe-cycle-mismatch?utm_source=hashnode&utm_medium=feed)

[BitFlipper](https://hashnode.com/@Opposite5303) · [Apr 6, 2024](https://hashnode.com/posts/use-groqdoc-and-openrewrite-to-write-your-javadoc/6610bd627a27bb4bd43df6c5)

### [Use GroqDoc and OpenRewrite to write your Javadoc](https://bitflippers.hashnode.dev/use-groqdoc-and-openrewrite-to-write-your-javadoc?utm_source=hashnode&utm_medium=feed)

Can LLMs help lazy developers with their documentation?

8 min read · [bitflippers.hashnode.dev](https://bitflippers.hashnode.dev/use-groqdoc-and-openrewrite-to-write-your-javadoc?utm_source=hashnode&utm_medium=feed)

[BitFlipper](https://hashnode.com/@Opposite5303) · [Mar 2, 2024](https://hashnode.com/posts/how-to-duplicate-classes-with-openrewrite/65e2cae6a30e21a29db23e14)

### [How to Duplicate Classes with OpenRewrite](https://bitflippers.hashnode.dev/how-to-duplicate-classes-with-openrewrite?utm_source=hashnode&utm_medium=feed)

Using the Scanning Recipe Generation Phase

4 min read · [bitflippers.hashnode.dev](https://bitflippers.hashnode.dev/how-to-duplicate-classes-with-openrewrite?utm_source=hashnode&utm_medium=feed)

[BitFlipper](https://hashnode.com/@Opposite5303) · [Jan 14, 2024](https://hashnode.com/posts/openrewrite-ast-missing-or-invalid-type-information/65a45028e0f435da2f91b022)

### [Debugging OpenRewrite AST that contains missing or invalid type information](https://bitflippers.hashnode.dev/openrewrite-ast-missing-or-invalid-type-information?utm_source=hashnode&utm_medium=feed)

Troubleshoot OpenRewrite AST issues with missing type information from your recipes, systematically debug with examples

4 min read · [bitflippers.hashnode.dev](https://bitflippers.hashnode.dev/openrewrite-ast-missing-or-invalid-type-information?utm_source=hashnode&utm_medium=feed)
