RE: [aspectwerkz-dev] matching on constructors of classes with an annotation
"Jonas Boner" <[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
this is odd, please file a JIRA on it and I will look into it later.
In the meantime, why don't you write it like this?
/**
* @Expression execution(@Entity *..*.new(..))
*/
Which I find more readable.
/Jonas
-----Original Message-----
From: christoph sturm [mailto:chrisml-Ws/[email protected]]
Sent: Sun 7/11/2004 11:07 PM
To: [email protected]
Cc:
Subject: [aspectwerkz-dev] matching on constructors of classes with an annotation
hey all!
I have a pointcut that should select all constructors of a class that
has some annotation:
/**
* @Expression execution(*..*.new(..)) && within(@Entity *..*)
*/
but my advice is never reached when i set a breakpoint there.
when i match on every constructor:
/**
* @Expression execution(*..*.new(..))
*/
it works.
is this a bug or is there an error in my pointcut selection?
regards
chris