I think it using PointcutId to differentiate from Id earlier in the
documentation.  It isn't anything tricky though, it just means a
reference to another pointcut.

pointcut p(Foo foo): execution(* Foo.*(..)) && this(foo);

pointcut q(Foo foo): p(foo); // p is a PointcutId

Andy

On 2 January 2012 03:55, Dénes Németh <[email protected]> wrote:
> Hi
>
> Can someone help me to explain what does the PointcutId pointcut do
> and possibly give an example to it. The only documentation that I
> could find is
> "PointcutId(TypePattern or Id, ...) Picks out each join point that is
> picked out by the user-defined pointcut designator named by
> PointcutId."
>
> Maybe PointcutId in the sentence should be Id, but I am not sure. An
> example would be very useful
>
> Denes
> Happy new year
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to