Hi,
     I'm not sure if this is what you are looking to do, but the * wildcard
does NOT match . (periods).  .. (2 periods) mathces ALL characters.  If you
are looking for Package.Subpackage.Class.Method but you only know the
Package and Subpackage you could use call( Package.Subpackage..*(..)) Notice
the 2 periods (..) after Subpackage.  So for you it might be call(public *
Socket.getInetAddress..*(..)).

Hope this is helpful!
Tyler

On Wed, Jun 25, 2008 at 6:41 AM, Neeraja Maniyani <
[EMAIL PROTECTED]> wrote:

> Hi,
>
> I tried using this
>
> call(public * Socket.getInetAddress(..))&& withincode(public *
> InetAddress.getLocalHost(..));
>
> but it still doesnot weave in the advice.
>
> thanks.
>
> _______________________________________________
> 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