Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [ajdt-dev] is there a 'shortcut' for this?

Hi Marco,

Yes, you almost had the answer: you want to use:
  call(* getStockTrace*(..)) && !call(* getStockTraceHistory(..))


________________________________________
From: ajdt-dev-bounces@xxxxxxxxxxx [mailto:ajdt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Marco Mistroni
Sent: Friday, April 21, 2006 6:04 AM
To: AspectJ Development Tools developer discussions
Subject: [ajdt-dev] is there a 'shortcut' for this?

hello all,
 i have a bean which has followiing methods

getStockTracesForX
getStockTracesZ
getStockTracesForReport
getStockTraceHistoryX


i have to apply a pointcut to the first three methods but not for the last 

i would do   

call ( * getStockTracesForX(..)) || call ( * getStockTracesZ(..)) ||  call (
* getStockTracesForReport(..)) 


i was wondering if i could instead do something like (pseudocode)

call (* getStockTrace*(..))   AND EXCLUDE getStockTraceHistory 


is that possible?

regards
 marco



Back to the top