7
A
回答
4
Afaik,它還不存在,你必須創建自己的。
JEP277定義@Deprecated(EXPERIMENTAL)
,但它只是一個命題。
2
在hadoop中有InterfaceStability
註釋用於這些目的。有趣的是這個註釋並不穩定。我懷疑JDK中會出現這樣的事情。
@InterfaceAudience.Public
@InterfaceStability.Evolving
public class InterfaceStability {
/**
* Can evolve while retaining compatibility for minor release boundaries.;
* can break compatibility only at major release (ie. at m.0).
*/
@Documented
public @interface Stable {};
/**
* Evolving, but can break compatibility at minor release (i.e. m.x)
*/
@Documented
public @interface Evolving {};
/**
* No guarantee is provided as to reliability or stability across any
* level of release granularity.
*/
@Documented
public @interface Unstable {};
}
相關問題
- 1. Titanium.Platform.id DEPRECATED in 1.8.0
- 2. 什麼是@Deprecated在Java中的.NET等價物?
- 3. 爲什麼@deprecated的RetentionPolicy是RUNTIME?
- 4. 什麼是反向換行
- 5. 什麼是反向路由?
- 6. 什麼是反向傳播?
- 7. MySQL:什麼是LIKE的反向版本?
- 8. 反向索引的要點是什麼?
- 9. 什麼是? in?char
- 10. 什麼是反向SSL?以及如何做反向SSL?
- 11. @deprecated vs @Deprecated
- 12. in()...它是做什麼的?
- 13. 什麼是反向通用關係?
- 14. MouseMove - 什麼是反向事件?
- 15. Renderscript,`in`參數是什麼?
- 16. mysql中in函數的反義詞是什麼?
- 17. 什麼是Java中的後向引用?
- 18. 什麼是/ [Cc] at/in perl?
- 19. in Rails 3什麼是「current_user」?
- 20. 什麼是ios :: in | ios :: out?
- 21. 什麼是.css in css?
- 22. 什麼是反向代理,爲什麼我應該使用Node.JS?
- 23. 什麼是res:// */in .net?
- 24. 是什麼意思「!」 in require.js
- 25. 什麼是reader.getPageRotation()in iTextSharp.text.pdf
- 26. 什麼是PREMERGED dll in .net
- 27. Java註釋與像@Deprecated
- 28. Java反射API中反射的方法是什麼?
- 29. byte [] to Java in Java:輸出是什麼意思?
- 30. 什麼是$ ArrayType $ 16008 in> net Reflector?
不是內置的,但你可以自己做。像'@ Beta'一樣。 – Tunaki
您可以使用[番石榴中的'@ Beta'註釋](http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/annotations/Beta.html)。 – azurefrog
另請參閱:http://stackoverflow.com/questions/32555597/annotating-unstable-classes-methods-for-javadoc – assylias