Community
Participate
Working Groups
The original related bug is described here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=393781 Please read that first with a look on the screenshots. It happens really often, that the sort name of classes are the same. With overloaded words like Index, Element and so on this happens really frequently especially if someone uses for example JAXB beans. So in general the problem occours oft. In this game the declaring class (lets call it Declare) and the method argument type with matching short name (lets call it Argument) What a quick fix could do: - it could look up all classes with the sort name Declare, and if it would not cause any other compilation failure (other occourances of Declare would compile), and the argument list would be ok, it could offer to change the import of Declare to another package. - it could look up all classes with the sort name Argument, and if it would not cause any other compilation failure (other occourances of Argument would compile) and it would match the method, it could offer to change the import of Argument to another package.