最好的(或至少好)指南Java注释 [英] best (or at least good) guide to Java annotations

查看:223
本文介绍了最好的(或至少好)指南Java注释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

必须有一本好书/ PDF / HTML描述要领&放文件;在Java注释的良好做法。我有点知道他们是从其他优秀的Java书籍是什么,但我正在寻找的东西,会教我最什么,我需要知道要好好利用它们。 (preferably在PDF / HTML,所以我可以把它打印出来和放大器;我慢慢看,书也OK,但这些会过时的这么快......)

There must be a good book/PDF/HTML file that describes the essentials & good practices of annotations in Java. I sort of know what they are from other good Java books, but I'm looking for something that would teach me most of what I would need to know to make good use of them. (preferably in PDF/HTML so I can print it out & read at my leisure, book ok also but those go out of date so fast...)

任何建议?

编辑:我找到了孙指导,以及像这些从奥赖利<教程/一>和 DevX 和的有效的Java,涵盖他们......好了,我知道它们是什么,什么工具来阅读,但是这并没有告诉我很多关于他们是如何付诸实践使用。 (除有效的Java O'Reilly的文章上面一点点,并建议他们在自动化测试框架使用)

edit: I found the Sun guides, as well as tutorials like these from O'Reilly and DevX, and the section of Effective Java that covers them... OK, so I know what they are and what tools to read them, but that doesn't tell me much about how they are put to use in practice. (other than a little bit in Effective Java and the O'Reilly article above that suggest their use in automated testing frameworks)

推荐答案


  • 在注释几点看法:
    <一href=\"http://web.archive.org/web/20120115164115/http://faler.word$p$pss.com/2007/11/21/when-to-use-and-not-to-use-java-annotations\" rel=\"nofollow\">http://web.archive.org/web/20120115164115/http://faler.word$p$pss.com/2007/11/21/when-to-use-and-not-to-use-java-annotations

这家伙对他们非常多:
<一href=\"https://web.archive.org/web/20060702222249/http://www.softwarereality.com/programming/annotations.jsp\" rel=\"nofollow\">https://web.archive.org/web/20060702222249/http://www.softwarereality.com/programming/annotations.jsp

最佳实践:的http://will$c$c4beer.com/opinion.jsp?set=annotations_gotchas_best_practices

希望这有助于。让我们知道你发现了什么。

Hope this helps. Let us know what you find.

这篇关于最好的(或至少好)指南Java注释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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