Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark API with @Contract and @CheckReturnValue annotations #3210

Closed
wants to merge 2 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Nov 21, 2024

We now express method contracts and indicate where the method return value is important (i.e. when returning a new object instance).

Also, fix @Serial issues, Javadoc and improper visibility/return types.

Closes #3195

@mp911de mp911de added the type: enhancement A general enhancement label Nov 21, 2024
@mp911de mp911de added this to the 4.0 M1 (2025.1.0) milestone Jan 9, 2025
mp911de added a commit that referenced this pull request Jan 9, 2025
@mp911de mp911de closed this Jan 9, 2025
@mp911de mp911de deleted the issue/contract-nullability branch January 9, 2025 09:39
mp911de added a commit that referenced this pull request Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce @Contract and @CheckReturnValue annotations
1 participant