Skip to content

Commit

Permalink
Migrate to JSpecify annotations as part of best practices
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Aug 28, 2024
1 parent eb337df commit a086f59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/META-INF/rewrite/openrewrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ name: org.openrewrite.recipes.RecipeNullabilityBestPractices
displayName: Recipe nullability best practices
description: Use JSpecify nullable annotations; drop Nonnull annotations; use `NullMarked` on `package-info.java` instead.
recipeList:
- org.openrewrite.java.jspecify.MigrateFromOpenRewriteAnnotations
- org.openrewrite.staticanalysis.NullableOnMethodReturnType
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.jetbrains.annotations.Nullable
Expand Down

0 comments on commit a086f59

Please sign in to comment.