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

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 : aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] De la part de Neeraja Maniyani
Envoyé : mercredi 25 juin 2008 16:37
À : aspectj-users@xxxxxxxxxxx
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.
********************************

Back to the top