Refaster template CollectionRules.ImmutableCollectionContains
Apache 2.0Prefer ImmutableCollection#contains(Object) over more verbose alternatives.
tech. picnic. errorprone. refasterrules. CollectionRulesRecipes$ImmutableCollectionContainsRecipemod run . --recipe= 'tech. picnic. errorprone. refasterrules. CollectionRulesRecipes$ImmutableCollectionContainsRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.