JetBrains / JetBrains/java-annotations

All parameters NotNull/Nullable

Open
#80 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
463
Forks
72
PR merge metrics
No merged PRs in 30d

Description

This's a kind feature request,

instead of doing
```java
public void MethodName(@NotNull Arg arg1, @NotNull Arg arg2, @NotNull Arg arg3) {}
```
It's better to be:
```java
@ArgsNotNull
public void MethodName(Arg arg1, Arg arg2, Arg arg3) {}
```
Indicating all parameters should not be null (or nullable).

Thanks.

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.