JetBrains / JetBrains/java-annotations
All parameters NotNull/Nullable
- 主要语言
- Kotlin
- 星标
- 463
- 派生
- 72
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
调研方向
Start by reviewing the existing NotNull and Nullable annotations and how this repository represents annotations for JVM-based languages. Determine how a method-level annotation could express the requested parameter behavior, including the nullable variant, and define completion as a supported annotation design with documented semantics and appropriate validation.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- tooling
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100