网页
图片
视频
学术
词典
地图
更多
航班
笔记本
切点 pointcut
例句
释义:
全部
全部
类别:
全部
全部
,
口语
口语
,
书面语
书面语
,
标题
标题
,
技术
技术
来源:
全部
全部
,
字典
字典
,
网络
网络
难度:
全部
全部
,
简单
简单
,
中等
中等
,
难
难
更多例句筛选
收起例句筛选
1.
If
you
develop
with
aspects
,
however
,
you
could
represent
such
behavior
as
advice
,
applied
to
any
operation
that
matches
a
certain
pointcut
.
但是
如果
用
方面
开发
,
那么
就
可以
将
这些
行为
表示
为
建议
(
advice
)
,
应用
到
所有
匹配
某个
切点
(
pointcut
)
的
操作
。
www.ibm.com
2.
You
know
that
the
Website
is
not
supposed
to
be
highlighted
,
so
you
rewrite
the
pointcut
to
exclude
that unintended
match
.
您
知道
这个
Website
不
应该
突出显示
,
因此
重新编写
这个
切点
以
排除
不
需要
的
匹配
。
www.ibm.com
3.
Later
in
the
article
,
I
rewrite
the
pointcut
as
I
demonstrate
some
of
the
testing
patterns
.
在
本文
的
后面
,
我
将
重写
这个
切点
以
展示
一些
测试
模式
。
www.ibm.com
4.
Rather than
enumerating
each
method
as
I
did
in
Listing
1
,
you write
what
you hope will
be
a
more
robust
pointcut
.
不用
像
在
清单
1
中
那样
枚举
每
一个
方法
,
可以
说明
想要
找
的
是
一个
更
健壮
的
切点
。
www.ibm.com
5.
Instead
of
extending
an
abstract
aspect
,
this time
you
write
your mock
target
so that
it
matches
a
pointcut
on
the
aspect
to
be
tested
.
这次
不是
扩展
一个
抽象
类
,
而是
编写
mock
目标
,
以
使
它
匹配
要
测试
的
方面
上
的
一个
切点
。
www.ibm.com
6.
You
can
test
that the
pointcut
is
correct
by
checking
whether
the
aspect
advises
the mock
target
.
可以
通过
检查
方面
是否
建议
了
mock
目标
来
测试
切点
是否
正确
。
www.ibm.com
7.
A
"
pointcut
"
is
a
construct
used
to programmatically
declare
and
group
join
points
.
一个
“
衡
切点
”
是
一个
被
用作
程序
声明
和
分组
连接
点
的
构造
。
www.ibm.com
8.
I
chose
a
very
simple
pointcut
for
the
initial
version
of
the
example
.
在
这个
例子
的
初始
版本
中
,
我
选用
一个
非常
简单
的
切点
。
www.ibm.com
9.
This
aspect
concretizes the highlightedTextProperties
pointcut
by
selecting
all
method
executions
on
the mock
target
.
这个
方面
通过
选择
mock
目标
上
所有
的
方法
执行
具体化
了
highlightedTextProperties
切点
。
www.ibm.com
10.
Have
the
test
aspect
supply
a
pointcut
that
targets
your mock
target
explicitly
.
让
测试
方面
提供
明确
针对
mock
目标
的
切点
。
www.ibm.com
1
2