How to describe Java code with annotations

You’ve probably encountered situations where you need to associate metadata (data that describes other data) with classes, methods, and/or other application elements. For example, your programming team might need to identify unfinished classes in a large application. For each unfinished class, the metadata would likely include the name of the developer responsible for finishing the class and the class’s expected completion date.

Before Java 5, comments were the only flexible mechanism that Java had to offer for associating metadata with application elements. However, comments are a poor choice. Because the compiler ignores them, comments are not available at runtime. And even if they were available, the text would have to be parsed to obtain crucial data items. Without standardizing how the data items are specified, these data items might prove impossible to parse.

To read this article in full, please click here


电子产品 排行榜


Gurmandise 哆啦A梦 铜锣烧 手机手环

IT電腦補習 java補習 為大家配對電腦補習,IT freelance, 私人老師, PHP補習,CSS補習,XML,Java補習,MySQL補習,graphic design補習,中小學ICT補習,一對一私人補習和Freelance自由工作配對。
立刻註冊及報名電腦補習課程吧!

facebook 查詢:
24 hours enquiry facebook channel :
https://www.facebook.com/itteacheritfreelance/?ref=aymt_homepage_panel

Be the first to comment

Leave a Reply

Your email address will not be published.


*