[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ajdt-dev] Clarification if you don't mind!
|
Change the file extension of your aspect file to .aj from .java and
the view will spring to life - at least mine did.
---------- Forwarded message ----------
From: Andy Clement <andrew.clement@xxxxxxxxx>
Date: 2008/7/4
Subject: Re: [ajdt-dev] Clarification if you don't mind!
To: ajdt-dev@xxxxxxxxxxx
Looks a bit broken to me (I only see B, and it is a class), I think
you want to raise a bug for that.
I also installed the AspectJ example 'TJP Example' and it did not look
right for the aspect there either.
Andy.
2008/7/4 Raffi T. Khatchadourian <khatchad@xxxxxxxxxxxxxxxxxx>:
> 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
> _______________________________________________
> ajdt-dev mailing list
> ajdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ajdt-dev
>