Message-ID: From: "lobaorn-bitso (@lobaorn-bitso)" To: "pgjdbc/pgjdbc" Date: Wed, 04 Jun 2025 19:05:42 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3634: Migrate nullability annotations from checkerframework to jspecify In-Reply-To: References: List-Id: X-GitHub-Author-Login: lobaorn-bitso X-GitHub-Comment-Id: 2941129103 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3634 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3634#issuecomment-2941129103 Content-Type: text/plain; charset=utf-8 Hey @vlsi just to add more here, recently JUnit did it as well for 6.0.0-M1. To avoid manual work, I would suggest going in the direction of using OpenRewrite (https://www.moderne.ai/blog/mass-migration-of-nullability-annotations-to-jspecify / https://docs.openrewrite.org/recipes/java/jspecify) for this. Although there is no specific recipe for migrating from CheckerFramework to JSpecify, it should be quite similar to the other ones, using a YAML approach. Other than that, I believe you could use IntelliJ for that to expedite: https://www.jetbrains.com/help/idea/openrewrite.html#create-openrewrite-recipe . If everything goes well with a "recipe" for it could be a opportunity to open a PR for it. cc @timtebeek