Hi!
Are there defined join points in arithmetics that I can catch?
Something like:
int a = 4;
int b = 2;
int c = a + b;
Can I make a pointcut
that catches any one of those lines? And what context will I be able to get?
I would like to add a before()
to all int/float/double manipulation done in a particular method on a class, is that possible.
I see in the AspectJ docs that there are defined join points for object initialization and method calls. Is declaring an int
an object initialization and does the +
operator count as a method call?
Thanks!