Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Combining AspectJ and MultiJava (multimethods)

Wes Isberg wrote:
I haven't read carefully, but the fix might be as simple
as adding the aspectjrt.jar to your runtime classpath.

No, that didn't solve the problem.

Can you tell us how MultiJava's declarations are better
than using AspectJ?  I'm curious because the syntax
looks identical, and AspectJ has the benefit of enforcing
aspect-relative visibility.

I might have been to quick with conclusions. At first it seamed to me that MultiJava has more advanced ways of defining scoping (with an extended "import" statement) and encapsulation (protected methods). But I'm not sure if that solves some of the problems I discovered in AspectJ when introducing public methods with the same signature to objects...

I'm still experimenting with it, if I find something, I'll let you know ;-)

Jan Van Besien



Back to the top