Is there any annotation like "Work in progress", "todo", "implementation not finished" or "draft" in java/kotlin?

huangapple go评论64阅读模式
英文:

Is there any annotation like "Work in progress", "todo", "implementation not finished" or "draft" in java/kotlin?

问题

我正在寻找与 @Deprecated 相似功能的注解,该注解可以告诉其他开发人员代码是草稿,包含了健壮的实现,或者正在进行中,我(或其他人)将很快完成它。问题出在我正在一个非常庞大的团队中工作。有时我们只能提交原始实现(而不是经过优化的实现)。

那么是否有任何类似的注解,IDE(如IntelliJ或Android Studio)可以在某种程度上对其进行处理呢?

英文:

I'm looking for annotation with similar functionality as @Deprecated witch tells other developers that the code is a draft and contains a robust implementations or there is a work in progress and me (or someone else) finish it soon.
The problem occurs because I'm working in very huge team. And sometime we have to commit only raw implementation (not optimized).

So is there any similar annotation which will be somehow handled by IDE (like IntelliJ or Android Studio)?

答案1

得分: 1

我不知道核心库中是否存在这样的注解。但是你可以自己编写:

public @interface Draft {
}
英文:

I'm not aware that such an annotation exists in the core library. But you could write your own:

public @interface Draft {
}

huangapple
  • 本文由 发表于 2020年9月26日 15:30:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/64075041.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定