java中@deprecated的反转是什么 [英] What is reverse of @deprecated in java

查看:25
本文介绍了java中@deprecated的反转是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,人们使用 @Deprecated 已弃用的 API 的注释.

So, People use @Deprecated annotation for APIs that have been deprecated.

是否有任何注释可以在方法不断发展且不稳定时通知用户?

Is there any annotation that notifies users if the method is evolving and is not stable?

推荐答案

Afaik,它还不存在,你必须创建自己的.

Afaik, it doesn't exist yet, you have to create your own.

JEP277 定义了一个 @Deprecated(EXPERIMENTAL),但它是只是一个提议.

JEP277 define a @Deprecated(EXPERIMENTAL), but it's just a proposition.

这篇关于java中@deprecated的反转是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆