JetBrains / JetBrains/java-annotations
All parameters NotNull/Nullable
Aperta
- Lingua principale
- Kotlin
- Stelle
- 463
- Fork
- 72
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.