Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsErroneous error marking in editor for introduced methods
https://www.eclipse.org/forums/index.php/mv/msg/18567/59515/#msg_59515
Originally posted by: benjamin.mesing.informatik.uni-rostock.de
Hello,
I have a fairly large project and make use of introductions. Sometimes when
I use the introduced methods I get an error marker indicating
"The method xyz() is undefined in type Abc"
where xyz() is a method introduced into Abc by an aspect.
The AspectJ compiler compiles fine though.
Is this issue known or reproducible or should I try to create a small
test-case where this appears? I was not able to find such a bug in the bug
database.
Ben]]>2005-12-16T18:35:03-00:00Re: Erroneous error marking in editor for introduced methods
https://www.eclipse.org/forums/index.php/mv/msg/18567/59563/#msg_59563
that rely on the AspectJ type system. The early-error indication you see
is actually quite harmless (but irritating) :- the project will compile
and run successfully. If you open the file with the AspectJ/Java editor
("open with" on the context menu in the package explorer) the error
indication will go away because that editor *does* understand the
AspectJ type system.
Benjamin Mesing wrote:
> Hello,
>
> I have a fairly large project and make use of introductions. Sometimes when
> I use the introduced methods I get an error marker indicating
> "The method xyz() is undefined in type Abc"
> where xyz() is a method introduced into Abc by an aspect.
> The AspectJ compiler compiles fine though.
>
> Is this issue known or reproducible or should I try to create a small
> test-case where this appears? I was not able to find such a bug in the bug
> database.
>
> AJDT 1.3.0 Build id: 1.5.0.20051214130641
> AspectJ version 1.5.0 RC1
> Eclipse 3.1.1 Build id: M20050929-0840
>
> Best regards
>
> Ben]]>Adrian Colyer2005-12-16T18:47:35-00:00Re: Erroneous error marking in editor for introduced methods
https://www.eclipse.org/forums/index.php/mv/msg/18567/591346/#msg_591346
that rely on the AspectJ type system. The early-error indication you see
is actually quite harmless (but irritating) :- the project will compile
and run successfully. If you open the file with the AspectJ/Java editor
("open with" on the context menu in the package explorer) the error
indication will go away because that editor *does* understand the
AspectJ type system.
Benjamin Mesing wrote:
> Hello,
>
> I have a fairly large project and make use of introductions. Sometimes when
> I use the introduced methods I get an error marker indicating
> "The method xyz() is undefined in type Abc"
> where xyz() is a method introduced into Abc by an aspect.
> The AspectJ compiler compiles fine though.
>
> Is this issue known or reproducible or should I try to create a small
> test-case where this appears? I was not able to find such a bug in the bug
> database.
>
> AJDT 1.3.0 Build id: 1.5.0.20051214130641
> AspectJ version 1.5.0 RC1
> Eclipse 3.1.1 Build id: M20050929-0840
>
> Best regards
>
> Ben]]>Adrian Colyer2005-12-16T18:47:35-00:00Re: Erroneous error marking in editor for introduced methods
https://www.eclipse.org/forums/index.php/mv/msg/18567/59587/#msg_59587
Originally posted by: benjamin.mesing.informatik.uni-rostock.de
I'm feeling so embarrassed because the topic was discussed in this newsgroup
before. Opening the class in the AJDT editor solves the issue.
Best regards
Ben]]>2005-12-16T19:08:29-00:00Re: Erroneous error marking in editor for introduced methods
https://www.eclipse.org/forums/index.php/mv/msg/18567/591359/#msg_591359
Originally posted by: benjamin.mesing.informatik.uni-rostock.de
I'm feeling so embarrassed because the topic was discussed in this newsgroup
before. Opening the class in the AJDT editor solves the issue.