Java editor annotations [message #116594] |
Tue, 26 August 2003 10:49  |
Eclipse User |
|
|
|
I have troubles with annotations in Java editor: there are a lot of
annotations saying: "the method XXX is undefined for the type YYY".
Everything is fine though, compilation works fine. Of course, no
correctins are available.
I noticed that some of these appeared when I wrote first the object
function call without having the method in the object code. I added the
method afterwards, but the annotation persisted. But it did happen for a
"normal" order: add a new method, then use the method.
Now my code is full of such fake annotations, I wasn't able to get rid of
them.
One more thing: such methods aren't seen by the content assistant as well.
They are displayed in the outline though.
Does anybody know a way to "refresh annotations"?
Thanks,
Emil
|
|
|
|
Re: Java editor annotations [message #116607 is a reply to message #116601] |
Tue, 26 August 2003 11:17  |
Eclipse User |
|
|
|
Version: 2.1.1
Build id: 200306271545
Darin Swanson wrote:
> Which build are you working on?
> Darins
> "Emil" <eiaco0@csr.uky.edu> wrote in message
> news:bifs20$8ob$1@eclipse.org...
> > I have troubles with annotations in Java editor: there are a lot of
> > annotations saying: "the method XXX is undefined for the type YYY".
> > Everything is fine though, compilation works fine. Of course, no
> > correctins are available.
> > I noticed that some of these appeared when I wrote first the object
> > function call without having the method in the object code. I added the
> > method afterwards, but the annotation persisted. But it did happen for a
> > "normal" order: add a new method, then use the method.
> > Now my code is full of such fake annotations, I wasn't able to get rid of
> > them.
> > One more thing: such methods aren't seen by the content assistant as well.
> > They are displayed in the outline though.
> >
> > Does anybody know a way to "refresh annotations"?
> >
> > Thanks,
> > Emil
> >
|
|
|
Powered by
FUDForum. Page generated in 0.06244 seconds