Use JSpecify nullability annotations #306

Merged
jwharm merged 11 commits from jspecify into main 2025-12-09 21:54:53 +01:00
jwharm commented 2025-12-09 21:54:42 +01:00 (Migrated from github.com)

Fixes #152

All bindings generated by Java-GI are now annotated as @NullMarked on the module level (in module-info.java). The parameters and return values that are nullable, are annotated as @Nullable.

This should improve the usability of the generated API with null-safe languages like Kotlin.

Fixes #152 All bindings generated by Java-GI are now annotated as `@NullMarked` on the module level (in `module-info.java`). The parameters and return values that are nullable, are annotated as `@Nullable`. This should improve the usability of the generated API with null-safe languages like Kotlin.
Sign in to join this conversation.
No description provided.