Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ajdt-dev] Clarification if you don't mind!

Suppose we have the following method x() in class A which sole
functionality is to call itself once:

class A {
	void x() {
		x();
	}
}

Now suppose we have a piece of advice in aspect B that advises calls to
A.x():

aspect B {
	before() : call(* A.x()) {
		//...
	}
}

Suppose that the above code is our entire software system. What do you
suppose the cross references view in the AJDT would say about the sole
advice in aspect B? The reason I ask is that I believe I am getting
something very odd and I just wanted to make sure I wasn't going crazy!
Thanks!

Raffi


Back to the top