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.

checker framework annotation OR javax.annotations.Nullable

See original GitHub issue

Currently, OC Java uses a mix of checker framework annotation (/*@Nullable*/) and @javax.annotations.Nullable . Things are not consistent everywhere in the library.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
songy23commented, Nov 16, 2018

My suggestion is use @javax.annotations.Nullable whenever possible. Only use /*@Nullable*/ for generics types.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom pluggable types for ... - The Checker Framework Manual
You can pass command-line arguments to a checker via javac's standard -A option (“A” stands for “annotation”). All of the distributed checkers ......
Read more >
Nullable (checker-framework 3.28.0 API)
Nullable is a type annotation that makes no commitments about whether the value is null . Equivalently, the type includes the null value....
Read more >
The Checker Framework Manual
6.1 Annotation Javari dialect; 6.2 Inference of Javari annotations; 6.3 Examples ... These checkers are easy to use and are invoked as arguments...
Read more >
Custom pluggable types for Java - The Checker Framework
The Nullness Checker supports a form of conditional nullness types, via the @EnsuresNonNullIf method annotations. The annotation on a method ...
Read more >
Custom pluggable types for Java - The Checker Framework
26.5.2 What is the meaning of an annotation after a type, such as @NonNull Object @Nullable? . 154. 26.5.3 What is the meaning...
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