Skip to content

Nullness annotations#62

Merged
skeet70 merged 4 commits intomainfrom
61-nullable-annotations
Apr 13, 2026
Merged

Nullness annotations#62
skeet70 merged 4 commits intomainfrom
61-nullable-annotations

Conversation

@skeet70
Copy link
Copy Markdown
Member

@skeet70 skeet70 commented Apr 8, 2026

Closes #61

From what I could tell this is the closest-to-standard way to accomplish this currently. It is opt in. If someone who knows the current Java ecosystem better has input, please comment.

skeet70 added 3 commits April 7, 2026 11:54
and add tests to cover that strangeness. Not all compilers seem to care,
but it's the most technically correct generation.
@skeet70 skeet70 requested a review from a team as a code owner April 8, 2026 21:45
@skeet70 skeet70 requested review from coltfred and removed request for a team April 8, 2026 21:45
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

File Coverage Lines
All files 91% 91%
src/gen_java/mod.rs 92% 92%
src/lib.rs 61% 61%

Minimum allowed coverage is 0%

Generated by 🐒 cobertura-action against 4f28b4e

Copy link
Copy Markdown
Member

@giarc3 giarc3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a good addition to me

@skeet70 skeet70 merged commit 559bd72 into main Apr 13, 2026
7 checks passed
@skeet70 skeet70 deleted the 61-nullable-annotations branch April 13, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@Nullable Annotations for Option<T>

4 participants