清单6给出了这类注释的一个版本。
什么是带注释的方法编程风格?
创建和注册带注释的XML模式。
添加注释的动机通常与代码重构一致。
The motivation for writing comments is often same as for refactoring your code.
注释的代码用于pid方法。
Are for the sid method. The commented code is for the pid method.
最后,得到带有代码和注释的最终版本。
And finally we have the last version, with code and comments.
以上就是我对代码注释的一些初略想法。
元数据是用称为注释的程序元素表示的。
Metadata is expressed using program elements called annotations.
使用查询注释的案例研究。
支持注释的运行时反射。
使用这些注释的好处包括
您将在该文件中发现一个已注释的示例条目。
最后的一个好处也是注释的特点。
元数据功能定义了向程序元素提供注释的机制。
A metadata facility defines a mechanism to supply annotations to program elements.
有关每种注释的更多细节请参考db 2文档。
For more details on each of these annotations refer to the DB2 documentation.
一个用作节点注释的注释多维数据集。
元数据功能也可以指定一种消费注释的一般方式。
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.
它指明注释的方法将覆盖超类中的方法。
It indicates that the annotated method is overriding a method in a superclass.
图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.
有关这些注释的更多详细信息,请参阅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.
字典查找创建的注释的类型来自于字典名。
The type of the annotations created by a dictionary lookup is derived from the dictionary name.
字段注入查找注释的所有字段并试图注入相应的依赖项。
It finds any fields you annotate and tries to inject the appropriate dependency.
但是有人能够保证在代码维护之后会保持注释的同步更新吗?
But who's to say that whoever maintains that code will keep the comments up to date?
我首先分析几种AOP系统是如何提供对消费注释的支持的。
I'll start with a look at how several AOP systems provide support for consuming annotations.
使用带注释的XML模式映射分解到现有的关系表。
Decomposed to existing relational tables using annotated XML schema mapping.
应用推荐