支持消费注释的AOP系统使您可以基于与程序元素相关联的注释选择连接点。
An AOP system that supports consuming annotations will let you select join points based on annotations associated with program elements.
每个实现旁边的注释记录了在执行时触发对相应实现的选择的条件(业务规则)。
The annotations beside each implementation document the condition (business rule) that triggers the selection of the corresponding implementation at execution time.
最终,如果您选择使用注释方式的映射,映射注释将分布在代码周围。
Finally, if you choose to go with annotation-style mappings, mapping annotations will be spread around your code.
如果在仔细分析要求后,确定使用注释是最好的选择,那么如何使用它们呢?
If after carefully studying the situation you decide that using annotations is the best choice, how should you use them?
在这些例子中,我将重点放在通过注释类型选择连接点上,然后我将进一步解释在选择连接点时,其他会起作用的因素。
In these examples I'll focus on selecting join points by annotation type; further down I'll explain some of the other factors that can weigh in on join point selection.
基于注释属性的切入点有某些好处,特别是对于编译时检查和静态选择的效率。
There are certain advantages to annotation properties-based pointcuts, especially for compile-time checks and efficiency of static selection.
即使使用较老的API或者选择不那么时髦的东西,好的注释和文档也可以在需求和预期变化时帮助调整您的应用程序。
Even if you use an older API, or make choices that aren't all the rage, good comments and documentation will help you adapt your application as requirements and expectations change.
该操作将会选择工具条内与注释相关的元素。
This action will select the element's associated comments in the sidebar.
选择的注释类型指定您感兴趣的结果,而该注释类型中选择的特征指定感兴趣的细节部分。
The selected annotation type specifies which result you are interested in, and the selected features of this annotation type specify the detailed part of interest.
为了释放一个元素上的所有注释,选择该元素,并释放强调显示的注释。
To resolve all comments for an element, select that element and resolve the comments that are highlighted as a result.
如果选择其中的某个注释,那么就会突出显示与这个注释相关的原始文本。
If a particular annotation is selected, then the original text covered by this annotation is highlighted.
在早期,编程工具受制于标识符的长度,故而注释成为了传达编程涵义的唯一选择。
In early days, your tool often had a limit on identifier character length that could be used so the comments were the only choice for delivering some meaning to other human beings.
本文中选择的查询和数据库类型只是注释的一般示例。
The types of queries and databases chosen to search in this article are just general examples of useful annotation.
有了JEE,注释功能就减少了出错代码,并使得部署描述器的选择更加自由。
With JEE, annotation capabilities reduce boilerplate code and make deployment descriptors optional.
注释通过将注释应用到xpath语句所选择的文档对象模型(Document Object Model,DOM)元素上在一个已解析的HTML文档的DOM版本上工作。
Annotation works on a document Object Model (DOM) version of a parsed HTML document by applying annotations to DOM elements that are selected by XPath statements. For example, the statement.
技巧5:使用ctrl键来一次性选择或者释放多个注释。
Tip 5: Use Ctrl to select multiple comments and resolve them all at once.
比方说,如果用户选择“Ignorecomments”,则两个XML模式文档的注释部分不进行比较。
For example if a user selects the option "Ignore comments," then comments are not compared in both XML schema documents.
使用ctrl键来一次性选择或者释放多个注释。
Use Ctrl to select multiple comments and resolve them all at once.
向提供数据选择的支持bean添加的内容主要是注释;放到conversation作用域时,必须将该类序列化。
The additions to the backing bean to accommodate the data selection are primarily annotations; the class must be serializable when it is placed into the conversation scope.
为了选中多个注释,在选择注释时按住 Ctrl 键。
To select multiple comments, use the Ctrl key while selecting a comment.
XMLFormsGenerator通过在具有枚举类型的元素或属性上使用定制的ECore注释,检测对于open选择的需要。
The XML Forms Generator detects the need for an open selection through the use of a custom ECore annotation on an element or attribute that has an enumerated type.
AutomobileMapper接口内的 Select注释将selectAutomobile方法映射到用来根据给定值从automobiles表选择一个记录的SQL。
The Select annotation in the AutomobileMapper interface maps the selectAutomobile method to the SQL that can be used to select a record from the automobiles table with the given value.
U shahidi软件开始的功能非常简单:其实该软件就是向用户提供一张地图和表格,要求用户在表格上填上事件内容描述,选择离事件发生地最近的城镇,在地图上注释出事件发生的具体时间,日期,地点。
That initial version was simple: just a map and a form that let users describe an incident, select the nearest town, and note the location, date, and time.
而注释部分则更新为显示有关该联系人的注释信息,如果没有选择联系人,则显示默认的注释文本(“Click to enternotes”)。
The notes section is updated to the note stored for this contact or, if no contact is selected, to the default note ("<Click to enter notes>").
为活性元素(以前屏幕截图中的“Mastercard”标签)创建新注释的选项,回应选择的注释的选项都在Comment菜单中。
Options for creating a new comment for the active element (" Mastercard "label in the previous screen capture) and for replying to the selected comment are in the comment menu.
这只需你进入你的[帐户设置],再寻找到注解设置,改变一下它的设置选择即可 (当然,你必须先登录YouTube 才能做关闭注释功能这项操作)。
Just go to your 'Account Settings' and look for the Annotations settings (obviously, you have to be logged in to YouTube for this to work).
这些文本注释存储在本地并在用户选择联系人时重新调用。
These notes are stored locally and are recalled anytime the user selects that contact.
您可以选择或者不选择将文件添加至源代码控制中,添加注释,后者在向源代码控制添加注释之后将文件置于调试状态。
You can select or clear files to be added to source control, add comments, or keep files checked out after they are added to source control.
一个可供选择的方法是在每个测试中添加一个todo注释而不是完全失败。
An alternative is to add a TODO comment in each test rather than an outright failure.
首先,派生的方面可以选择注释类型。
应用推荐