-
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…
-
Running the `JUnitToAssertJRules` across some code I noticed that `AssertThatIsTrue` and `AssertThatIsFalse` transformed some JUnit `assertTrue()` and `assertFalse()` calls:
It seems like it wo…
-
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…
-
The following template:
```java
public static class MigrateAssertEqualsFloatArrayDelta {
@BeforeTemplate void before(float[] actual, float[] expected, float delta) {
As…
-
Right now we only have two placeholders.
https://github.com/moderneinc/moderne-docs/blob/da21eae3ec16ae25a2b8e830611ca0a3a063a9aa/user-documentation/moderne-ide-integration/reference/refactor-actio…
-
### 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…
-
## What problem are you trying to solve?
Expand the set of Refaster rules in Error Prone Support that we cover with OpenRewrite recipes.
## Describe the solution you'd like
Support the following …
-
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…
-
Drop / disallow use of obsolete static methods such as
- `Lists.newArrayList`
- `Lists.newLinkedList`
- `Maps.newConcurrentMap`
- `Maps.newEnumMap`
- `Maps.newHashMap`
- `Maps.newIdentityHashM…
-
### 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
...
…