question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use `@Nullable` annotation

See original GitHub issue

We should start to use @Nullable annotation etc in netty 5 to make it easier for users to understand what to expect.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:4
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
chrisvestcommented, Aug 10, 2022

We can alternatively use the JetBrains annotations, since we already depend on those for @Async.Execute and @Async.Schedule, and they also include other useful ones like @VisibleForTesting.

1reaction
normanmaurercommented, Oct 4, 2022

@jchrys yes please 😃 We love contributions

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found