StringRules Refaster recipes
Apache 2.0Refaster rules related to expressions dealing with Strings.
Source.
tech. picnic. errorprone. refasterrules. StringRulesRecipesmod run . --recipe= tech. picnic. errorprone. refasterrules. StringRulesRecipesInstall 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.
- Refaster template
StringRules.EmptyString - Refaster template
StringRules.StringIdentity - Refaster template
StringRules.StringIsEmptyWithString - Refaster template
StringRules.StringIsEmpty - Refaster template
StringRules.NotStringIsEmpty - Refaster template
StringRules.StringsIsNullOrEmpty - Prefer
String#isBlank()over less efficient alternatives - Refaster template
StringRules.OptionalOfNullableFilterNotStringIsEmpty - Refaster template
StringRules.OptionalFilterNotStringIsEmpty - Refaster template
StringRules.StringJoin - Refaster template
StringRules.StringJoinVarargs - Refaster template
StringRules.StringValueOfWithObject - Refaster template
StringRules.NewString3 - Refaster template
StringRules.NewString1 - Refaster template
StringRules.StringValueOf - Refaster template
StringRules.StringSubstring - Refaster template
StringRules.Utf8EncodedLength - Refaster template
StringRules.MathMaxNegativeOneStringIndexOfMinusInt - Refaster template
StringRules.MathMaxNegativeOneStringIndexOfMinusIntWithInt - Refaster template
StringRules.MathMaxNegativeOneStringIndexOfMinusString - Refaster template
StringRules.MathMaxNegativeOneStringIndexOfMinusStringWithInt - Refaster template
StringRules.MathMaxNegativeOneStringLastIndexOfMinusInt - Refaster template
StringRules.MathMaxNegativeOneStringLastIndexOfMinusString - Refaster template
StringRules.StringLastIndexOfMinusOneInt - Prefer
String#lastIndexOf(String, int)over less efficient alternatives - Refaster template
StringRules.StringStartsWith - Refaster template
StringRules.Formatted