Updates:
Status: WontFix
Comment #1 on issue 638 by anquetil...(a)gmail.com: VerveineJ seems to import
some methods multiple times
http://code.google.com/p/moose-technology/issues/detail?id=638
There is very little that can be done.
The problem comes from the fact that JDT's binding resolution is not
successful for these methods.
Therefore VerveineJ cannot link the invocation to the declaration.
the only solution would be to do symbol resolution by hand, and this is
exactly what I tried to avoid by using JDT's parser.
(Incidently, if JDT cannot do it, verveineJ would probably not be able to
do it either anyway.)
One question though is why JDT cannot resolve bindings in these cases?
For the example you give, the problem is that "method()" has no return
type, so it is not valid.
For other cases, I would have to look at it to know.
May be an incomplete classpath?
nicolas