My poincut and advice looks like this:

pointcut name2()
  : call(public * Socket.getInetAddress(..)) && withincode(public *
Socket.getInetAddress.getLocalHost(..));


  before() : name2() {
   System.out.println("able to weave");
}

Still i am unable to weave in the advice at
Socket.getInetAddress.getLocalHost

Please let me know where i am going wrong.

thanks.
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to