Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] [AJDT] compile error

Hi Alex,

This error is coming from the Java eager parser, which doesn't know
about the inter-type declaration. This is because you are opening the
Test class in the Java editor (which is the default, and is usually
sufficient). If however you open the class in the AspectJ editor, that
will use the AspectJ eager parser, which will be aware of the
inter-type declaration.

Regards,

Matt.

On 13/07/05, Alex Vasc <altvex@xxxxxxxxx> wrote:
> Hello everybody,
>   I got a problem in AJDT with the codes below:
>   ---------------------------------
> 1  Class Test {
> 2     public static void main(String args[]) {
> 3        vp();
> 4     }
> 5  }
>  ---------------------------------
> 1  aspect a {
> 2    public static void Test.vp(){
> 3      t.print("Hello!");
> 4    }
> 5 }
>  ---------------------------------
>  It runs. Although, the JDT compiler identifies the line 3 of the
> first code as an error. I´d like disable this directly by plug-in
> source code. Any thoughts? The AJDT version is 1.2.
> 
> Best Regards,
> 
> --
> Alexandre Vasconcelos
> www.cin.ufpe.br/~atv
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>


Back to the top