-
### Problem
Right now `StringRules` is able to do replacements for Strings, but skips StringBuilder for instance, as identified here:
- https://github.com/openrewrite/rewrite-migrate-java/issues/33…
-
When the recipe below is ran against the test case the generated JavaTemplate.Matcher doesn't find a match.
I've also tried `boolean[] items` but it made no difference
Recipe
```JAVA
@Re…
-
## What version of OpenRewrite are you using?
I am using the latest version as of 2024-09-21
## How are you running OpenRewrite?
originally gradle build file, also verified via PR:
- http…
-
Running the `JUnitToAssertJRules` across some code I noticed that `AssertThatIsTrue` and `AssertThatIsFalse` transformed some JUnit `assertTrue()` and `assertFalse()` calls:
It seems like it wo…
-
Is there any chance that https://docs.openrewrite.org/authoring-recipes/refaster-recipes can at least briefly credit and link to [my 2013 paper outlining the concept](https://dl.acm.org/doi/10.1145/25…
-
Following https://errorprone.info/docs/refaster I created a new file StringIsEmpty.java (in an empty directory) and ran:
```
$ wget http://repo1.maven.org/maven2/com/google/errorprone/error_prone_re…
-
### Problem
I couldn't find any documentation on how to write and apply your own Refaster rules. I've tried adding and enabling your Refaster rule compiler to the build like this:
```kotlin
d…
-
Hi,
At the moment I’m on my phone, so typing isn’t the most comfortable thing to do.
I tried to combine `-XepPatchChecks` with a refaster check. When, deliberately adding errors the checks gener…
-
### Can't disable rule using a compiler argument
### Minimal Reproducible Example
Here is my configuration in pom.xml
```xml
...
2.19.1
0.1.18
0.11.1
...
…
-
We use [eg](https://pkg.go.dev/golang.org/x/tools/cmd/eg) to auto-fix certain classes of bugs, but we can do more.
If help with eg is needed, refer to https://rakyll.org/eg/.
- [ ] `time` packag…