Migrate to JSpecify

MSAL

This recipe will migrate to JSpecify annotations from various other nullability annotation standards.

org.openrewrite.java.jspecify.MigrateToJSpecify
mod run . --recipe=org.openrewrite.java.jspecify.MigrateToJSpecify

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. Migrate from javax annotation API to JSpecify
  2. Migrate from Jakarta annotation API to JSpecify
  3. Migrate from JetBrains annotations to JSpecify
  4. Migrate from Micrometer annotations to JSpecify
  5. Migrate from Micronaut Framework annotations to JSpecify
  6. Migrate from SpotBugs annotations to JSpecify