JetBrains / JetBrains/java-annotations

All parameters NotNull/Nullable

Đang mở
#80 0 bình luận 3 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Kotlin
Star
463
Fork
72
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.