diff --git a/src/main/java/org/openrewrite/FindCallGraph.java b/src/main/java/org/openrewrite/FindCallGraph.java index 29910ca..501e692 100644 --- a/src/main/java/org/openrewrite/FindCallGraph.java +++ b/src/main/java/org/openrewrite/FindCallGraph.java @@ -17,7 +17,7 @@ import lombok.EqualsAndHashCode; import lombok.Value; -import org.openrewrite.internal.lang.Nullable; +import org.jspecify.annotations.Nullable; import org.openrewrite.java.JavaIsoVisitor; import org.openrewrite.java.tree.J; import org.openrewrite.java.tree.JavaType; @@ -108,7 +108,7 @@ public J.MemberReference visitMemberReference(J.MemberReference memberRef, Execu return super.visitMemberReference(memberRef, ctx); } - private void recordCall(@Nullable JavaType.Method method, ExecutionContext ctx) { + private void recordCall(JavaType.@Nullable Method method, ExecutionContext ctx) { if (method == null) { return; } diff --git a/src/main/java/org/openrewrite/FindDuplicateSourceFiles.java b/src/main/java/org/openrewrite/FindDuplicateSourceFiles.java index 6253a8f..c765fd1 100644 --- a/src/main/java/org/openrewrite/FindDuplicateSourceFiles.java +++ b/src/main/java/org/openrewrite/FindDuplicateSourceFiles.java @@ -15,7 +15,7 @@ */ package org.openrewrite; -import org.openrewrite.internal.lang.Nullable; +import org.jspecify.annotations.Nullable; import org.openrewrite.marker.SearchResult; import org.openrewrite.table.DuplicateSourceFiles; diff --git a/src/main/java/org/openrewrite/LanguageComposition.java b/src/main/java/org/openrewrite/LanguageComposition.java index 8f5219f..a0e18fd 100644 --- a/src/main/java/org/openrewrite/LanguageComposition.java +++ b/src/main/java/org/openrewrite/LanguageComposition.java @@ -18,10 +18,10 @@ import lombok.Data; import lombok.EqualsAndHashCode; import lombok.Value; +import org.jspecify.annotations.Nullable; import org.openrewrite.binary.Binary; import org.openrewrite.groovy.tree.G; import org.openrewrite.hcl.tree.Hcl; -import org.openrewrite.internal.lang.Nullable; import org.openrewrite.java.tree.J; import org.openrewrite.json.tree.Json; import org.openrewrite.kotlin.tree.K;