提交 a39867bd 编写于 作者: A Andy Clement

Tweak docs concerning method execution pointcut signature

Issue: SPR-13512
上级 1da564d2
......@@ -579,7 +579,7 @@ The format of an execution expression is:
[source,java,indent=0]
[subs="verbatim,quotes"]
----
execution(modifiers-pattern? ret-type-pattern declaring-type-pattern? name-pattern(param-pattern)
execution(modifiers-pattern? ret-type-pattern declaring-type-pattern?name-pattern(param-pattern)
throws-pattern?)
----
......@@ -589,7 +589,9 @@ what the return type of the method must be in order for a join point to be match
frequently you will use `{asterisk}` as the returning type pattern, which matches any return
type. A fully-qualified type name will match only when the method returns the given
type. The name pattern matches the method name. You can use the `{asterisk}` wildcard as all or
part of a name pattern. The parameters pattern is slightly more complex: `()` matches a
part of a name pattern. If specifying a declaring type pattern
then include a trailing `.` to join it to the name pattern component.
The parameters pattern is slightly more complex: `()` matches a
method that takes no parameters, whereas `(..)` matches any number of parameters (zero
or more). The pattern `({asterisk})` matches a method taking one parameter of any type,
`(*,String)` matches a method taking two parameters, the first can be of any type, the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册