Use `@Nullable` annotation
See original GitHub issueWe should start to use @Nullable annotation etc in netty 5 to make it easier for users to understand what to expect.
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Nullable annotation usage - java - Stack Overflow
This annotation is commonly used to eliminate NullPointerExceptions . @Nullable says that this parameter might be ...
Read more >Nullable reference types - Microsoft Learn
The nullable annotation context and nullable warning context can be set for a project using the <Nullable> element in your .csproj file. This ......
Read more >Spring Null-Safety Annotations - Baeldung
The @NonNullFields annotation is generally preferable to @NonNull as it helps reduce boilerplate. At times we want to exempt some fields from ...
Read more >Nullable (java8 20.1.0 API) - Javadoc.io
An element annotated with Nullable claims null value is perfectly valid to return (for methods), pass to (parameters) or hold in (local variables...
Read more >Using null annotations - IBM
Note the significant difference between @Nullable and omitting a null annotation: This annotation explicitly states that null is OK and must be expected....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We can alternatively use the JetBrains annotations, since we already depend on those for
@Async.Executeand@Async.Schedule, and they also include other useful ones like@VisibleForTesting.@jchrys yes please 😃 We love contributions