aws / aws/aws-sdk-java-v2

Annotate methods and parameters for nullability

Open
#505 3 comments 11 reactions 0 assignees View on GitHub
2.0 New feature-request kotlin p2
Dominant language
Java
Stars
2.6k
Forks
1k
Avg merge
2d 9h
Merged PRs (30d)
51

Description

If methods and parameters were annotated for nullability (ie: either `@Nullable` or `@NotNull`) it would help Java programmers who use static analysis tools, and would be a huge help to Kotlin programmers using the Java SDK.

Nullability annotations in Java unfortunately suffer from a bit of a [too many standards](https://xkcd.com/927/) problem, but JetBrains has [a list of nullability annotations supported by the Kotlin compiler as well as other advice that should help with migrating to using nullability annotations](https://kotlinlang.org/docs/reference/java-interop.html#nullability-annotations).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.