[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] AspectJ and packages
|
Just like Java: import MyClass
With XLint messages on, the compiler tells you it can't
resolve MyClass.
Wes
> ------------Original Message------------
> From: Simon Heinzle <simon.heinzle@xxxxxxxxxx>
> To: aspectj-users@xxxxxxxxxxx
> Date: Mon, Mar-14-2005 6:11 AM
> Subject: [aspectj-users] AspectJ and packages
>
> Has anyone an idea why pointcuts like
>
> execution(* ch.adnovum.project.MyClass.method(..))
>
> work but
>
> execution(* MyClass.method(..))
>
> doesn't work?? (as long as the aspect is not in the same package or
> does
> import ch.adnovum.project.*)
>
> I also tried * *.MyClass.method(..) but doesn't work either.
>
> Is there an easy way to select a method of a class that is not in the
> same package but does away with the whole package path in the
> pointcut??
>
> Regards,
> Simon
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users
>