Community
Participate
Working Groups
In latest, 1) apply the patch from bug 86167. 2) create a package-info.java file in a package p; 3) Type the following without <code assist here>. @Annot(id = 4) package p; class Z extends <code assist here> { } 4) Code assist where specified. 5) package-info is inserted. I have no idea where it is coming from. The fake interface declaration package-info has been removed from the search or the indexer.
I think the problem comes from the fact that I need to exclude this fake type binding. Inserting: if (sourceType.sourceName == TypeConstants.PACKAGE_INFO_NAME) continue; after: if (sourceType.sourceName == CompletionParser.FAKE_TYPE_NAME) continue; solved the problem. Closing as duplicate of bug 86167, because this fix should be released as a fix for 86167. It is part of the support for the package-info file. *** This bug has been marked as a duplicate of 86167 ***