Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] help on pointcuts weaving

You want:

call(public * Socket.getLocalHost(..)) && withincode(public *
testSockets.*(..));

And maybe you want to read a good book about AspectJ.

Eric

2008/6/26 Neeraja Maniyani <neeraja.maniyani@xxxxxxxxx>:
>
> I have mistaken the previous result shown in the decompiled class file..It
> is obviuos that the advice got woven at that many points.
>
> But for this point cut,
>
> call(public * Socket.getInetAddress.getLocalHost(..)) && withincode(public *
> testSockets.*(..));
>
> I am still not able to weave in the advice.Is there any other way to call
> these methods.
>
> thanks.
>
> neeraja.
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>



-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


Back to the top