Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Selecting arithmetic operation join points. Is it possible?

Hi,

The subject pretty much says it all. 

For example I'd like to be able to select integer subtraction:

Integer i = 5;
Integer j = 2;
Integer r = i - j;

Maybe if Java supported operator overloading that would be fairly easy.

1. So is something like this possible now? I'm pretty sure it is not.
2. Would this be possible to implement? How? Effort?
3. Is something like this planned for future AspectJ versions?

Thank you.

MP


Back to the top