[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Advising all calls to all methods within a certain package

Hi.

2008/6/23 Raffi Takvor Khatchadourian <khatchad@xxxxxxxxxxxxxxxxxx>:
> Hello. I would like to advise all calls to all methods within the
> java.io package and subpackages. I have the following pointcut:
>
> call(* java.io..*.*(..))
>
> It works, however, it also advised calls to methods within java.lang as
> well. Anyway to fix this? Thanks!

If I am not mistaken, this should only be the case if the callee
extends a type in java.io..., which is probably what you want.

Eric