Community
Participate
Working Groups
EclipseN20041129 I have the following two classes, in separate files, both in the package "demo" public class Source { public static interface TestInterface<T>{} } public class StaticImportTest { public void main(String[] args) { Source.TestInterface<String> c; } } When I give the command Organize Imports for the StaticImportTest file, it adds the import "import demo.Source.*;" which it then warns me is an unused import.
Moving to jdt.core Bug is in the qualified name 'Source.TestInterface': the type binding on simple name 'Source' has the type binding of inner type 'TestInterface'. Should be 'Source'.
Regression test added in ASTConverter15Test.test0137. *** This bug has been marked as a duplicate of 78934 ***