AssertJObjectRules Refaster recipes

Apache 2.0

Refaster rules related to AssertJ assertions over arbitrary objects. Source.

tech.picnic.errorprone.refasterrules.AssertJObjectRulesRecipes
mod run . --recipe=tech.picnic.errorprone.refasterrules.AssertJObjectRulesRecipes

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Refaster template AssertJObjectRules.AssertThatIsInstanceOf
  2. Prefer ObjectAssert#isEqualTo(Object) over more contrived alternatives
  3. Prefer ObjectAssert#isNotEqualTo(Object) over more contrived alternatives
  4. Refaster template AssertJObjectRules.AssertThatHasToString
  5. Refaster template AssertJObjectRules.AssertThatIsSameAs
  6. Refaster template AssertJObjectRules.AssertThatIsNotSameAs
  7. Refaster template AssertJObjectRules.AssertThatIsNull
  8. Refaster template AssertJObjectRules.AssertThatIsNotNull
  9. Refaster template AssertJObjectRules.AssertThatHasSameHashCodeAs