So if all your classes are in the default package ( ie “without package”)

The pointcut would be :

withincode(public * Socket.getInetAddress(..)) && call(public *
InetAdress.getLocalHost(..))

 

I think you have mixed the two expressions of the pointcut

 

 

Jean-Louis Pasturel



De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Neeraja Maniyani
Envoyé : mercredi 25 juin 2008 16:37
À : [email protected]
Objet : [aspectj-users] help on pointcuts weaving

 

InetAddress would be the return type. 



*********************************
This message and any attachments (the "message") are confidential and intended 
solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or 
falsified.
If you are not the intended addressee of this message, please cancel it 
immediately and inform the sender.
********************************
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to