openrewrite / rewrite-docs

Stores the markdown documents used to generate docs.openrewrite.org
https://docs.openrewrite.org
Apache License 2.0
41 stars 52 forks source link

JavaTemplate multiple statement confusion #280

Closed mike-solomon closed 3 months ago

mike-solomon commented 5 months ago

Based on a common question in the OpenRewrite Slack, we should update the docs to make it clearer how to replace one statement with multiple new statements using JavaTemplate.

Tim provided the answer in that thread - just need to figure out where in the docs it should go and ensure that it's clear.

To copy the information to this issue: