JetBrains / JetBrains/java-annotations
All parameters NotNull/Nullable
Open
- 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
Assessment
This issue has not been assessed yet.