Picnic String rules that need Java 21

Apache 2.0

Runs the Picnic String Refaster rules that introduce String#indexOf(int, int, int) or String#indexOf(String, int, int), on Java 21 and later sources only.

org.openrewrite.thirdparty.sonar.StringRulesJava21
mod run . --recipe=org.openrewrite.thirdparty.sonar.StringRulesJava21

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