## 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 cases not currently covered. - [x] `com.google.errorprone.refaster.Refaster` as seen in [EqualityRules.java](https://github.com/PicnicSupermarket/error-prone-support/blob/master/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/EqualityRules.java) used ~326 times - #21 - [x] `@UseImportPolicy` as seen in [MockitoRules.java](https://github.com/PicnicSupermarket/error-prone-support/blob/master/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/MockitoRules.java) used ~235 times - #53 - #140 - [x] `@DoNotCall` as seen in [TestNGToAssertJRules.java](https://github.com/PicnicSupermarket/error-prone-support/blob/master/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/TestNGToAssertJRules.java) used 3 times - [x] Generic type parameters are currently not supported as seen in [ImmutableSortedMapRules.java](https://github.com/PicnicSupermarket/error-prone-support/blob/master/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/ImmutableSortedMapRules.java) used ~496 times - [ ] `@AlsoNegation` as seen in [BigDecimalRules.java](https://github.com/PicnicSupermarket/error-prone-support/blob/master/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/BigDecimalRules.java) used ~19 times - [ ] `@Placeholder` as seen in [LongStreamRules.java](https://github.com/PicnicSupermarket/error-prone-support/blob/master/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/LongStreamRules.java) used ~15 times - [x] `@Repeated` as seen in [WebClientRules.java](https://github.com/PicnicSupermarket/error-prone-support/blob/master/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/WebClientRules.java) used ~9 times - [ ] `@Matches` & `@NotMatches` as seen in [ReactorRules.java](https://github.com/PicnicSupermarket/error-prone-support/blob/master/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/ReactorRules.java) used ~1 + 2 times - [ ] "If statements are currently not supported" used ~8 times - [ ] "Lambdas are currently not supported" used ~2 times - [ ] "Method references are currently not supported" used ~1 times - [ ] Support of exclude templates that contain more than one statement, as the template matching would fail
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 cases not currently covered.
com.google.errorprone.refaster.Refasteras seen in EqualityRules.java used ~326 timesreturn Refaster.anyOf(...)#21@UseImportPolicyas seen in MockitoRules.java used ~235 timesUseImportPolicyto cover additional recipes #53@DoNotCallas seen in TestNGToAssertJRules.java used 3 times@AlsoNegationas seen in BigDecimalRules.java used ~19 times@Placeholderas seen in LongStreamRules.java used ~15 times@Repeatedas seen in WebClientRules.java used ~9 times@Matches&@NotMatchesas seen in ReactorRules.java used ~1 + 2 times