Skip to content

Commit bce5450

Browse files
author
Braam Wijsmuller
committed
Migration for NullMarked instead of ParametersAreNonnullByDefault
1 parent 197eb12 commit bce5450

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/resources/META-INF/rewrite/jspecify.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ recipeList:
4747
oldFullyQualifiedTypeName: javax.annotation.Nonnull
4848
newFullyQualifiedTypeName: org.jspecify.annotations.NonNull
4949
ignoreDefinition: true
50+
- org.openrewrite.java.ChangeType:
51+
oldFullyQualifiedTypeName: javax.annotation.ParametersAreNonnullByDefault
52+
newFullyQualifiedTypeName: org.jspecify.annotation.NullMarked
53+
ignoreDefinition: true
5054
- org.openrewrite.staticanalysis.java.MoveFieldAnnotationToType:
5155
annotationType: org.jspecify.annotations.*
5256
---

0 commit comments

Comments
 (0)