aspectj pointcut pre metody lubovolnej triedy okrem metod z anonymous inner classes
Peter Kvokacka
kvokacka na vsl.sk
Úterý Březen 16 19:29:14 CET 2010
Dobry den
vie niekto poradit co pridat k
pointcut all() : execution(* *.*(..))
ak chcem vylucit metody z anonymous inner classes ?
Google mlci jedine co som nasiel bol posledny komentar k bugu
https://bugs.eclipse.org/bugs/show_bug.cgi?id=73050#c6
> Adrian Colyer 2005-11-04 08:15:01 EST
> I've just commited the fix for this and it will be available in the next
> published build. Anonymous types are
> now only matched by the name pattern "*" - any other pattern fails to match
> since anonymous types are
> treated as having no name.
skusal som
pointcut all() : execution(* *.*(..)) && !within(*.*)
to zafunguje prekvapivo iba pre triedy, ktore su v rovnakom package ako
aspect. Ine zufale pokusy neuvadzam aby som Vas neovplyvnoval :).
Peter
------------- další část ---------------
HTML příloha byla odstraněna...
URL: <http://amaio.cz/pipermail/konference/attachments/20100316/a65ccf06/attachment.htm>
Další informace o konferenci Konference