MapEntryRules Refaster recipes
Apache 2.0Refaster rules related to expressions dealing with Map.Entry instances.
Source.
tech. picnic. errorprone. refasterrules. MapEntryRulesRecipesmod run . --recipe= tech. picnic. errorprone. refasterrules. MapEntryRulesRecipesInstall 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.
- Prefer
Map#entry(Object, Object)over non-JDK alternatives or the associated constructor - Refaster template
MapEntryRules.ComparingByKey - Refaster template
MapEntryRules.ComparingByKeyWithComparator - Refaster template
MapEntryRules.ComparingByValue - Refaster template
MapEntryRules.ComparingByValueWithComparator