checker framework annotation OR javax.annotations.Nullable
See original GitHub issueCurrently, 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:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top 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 >
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
There is also a note on annotations here: https://github.com/census-instrumentation/opencensus-java/blob/master/CONTRIBUTING.md#checker-framework-null-analysis
My suggestion is use
@javax.annotations.Nullable
whenever possible. Only use/*@Nullable*/
forgenericstypes.