清单6给出了这类注释的一个版本。
创建和注册带注释的XML模式。
以下是对更有用的注释的简单概述。
添加注释的动机通常与代码重构一致。
The motivation for writing comments is often same as for refactoring your code.
最后,得到带有代码和注释的最终版本。
And finally we have the last version, with code and comments.
元数据是用称为注释的程序元素表示的。
Metadata is expressed using program elements called annotations.
使用查询注释的案例研究。
支持注释的运行时反射。
它指明注释的方法将覆盖超类中的方法。
It indicates that the annotated method is overriding a method in a superclass.
使用这些注释的好处包括
您将在该文件中发现一个已注释的示例条目。
添加了注释的Jython方法如下例所示。
元数据功能定义了向程序元素提供注释的机制。
A metadata facility defines a mechanism to supply annotations to program elements.
良好习惯:带注释的函数和类。
元数据功能也可以指定一种消费注释的一般方式。
A metadata facility may also specify a general way to consume annotations.
清单7给出了一个为可翻译变量添加注释的例子。
Listing 7 shows an example of adding comments for translatable variables.
图19显示了包含椭圆与注释的连接器功能。
Figure 19 shows the connector functionality with an oval and a note.
现在,我将展示以横切方式提供注释的基本语法。
For now, I'll show you the basic syntax to supply annotation in a crosscutting manner.
启用对带有Spring注释的类进行自动扫描。
Enables automatic scan for the class that has Spring annotations.
result包含所有审阅人员的注释的数组。
Result. The array that contains the comments of all reviewers.
图2显示了用于查看草案模型和添加注释的小部件。
Figure 2 shows the widget for viewing a draft model and adding comments.
JPA实体包包含带注释的 JPA 实体对象。
The JPA entities package contains the annotated JPA entity objects.
使用带注释的XML模式映射分解到现有的关系表。
Decomposed to existing relational tables using annotated XML schema mapping.
有关这些注释的更多详细信息,请参阅DB 2文档。
For more details on each of these annotations, refer to the DB2 documentation.
当然对于本例这样简单的程序,是无需大量的注释的。
For a program this simple, extensive comments are usually not necessary.
清单6给出了一些为DNT和隐藏变量添加注释的好例子。
Listing 6 shows some good examples of adding comments for the DNT and hidden variables.
他使用该接口向小组成员解释带注释的方法风格的基础。
He USES the interface to explain the fundamentals of the annotated method style to the team.
注释的id 属性显示出匹配字典条目的内部 ID。
The id of the annotations shows the internal ID of the matched dictionary entry.
下面是JSR- 181提供的一些注释的简单描述。
The following is a brief description of some of the annotations provided by JSR-181.
但是有人能够保证在代码维护之后会保持注释的同步更新吗?
But who's to say that whoever maintains that code will keep the comments up to date?
应用推荐