Project: JDT
Bug 86465 ResultCollector made non-extendable in 3.1M5a
Reported: 2005-02-24 09:05:10 | Status: resolved fixed

I know ResultCollector is part of the internal API, but AFAIK it is the only entrypoint to provide Java completions in non-java files (such as JSPs, HBM.xml, etc.) without reimplementing the logic found in it. Until now it has been quite easy to adapt it for many purposes by extending it, but between 3.1M4 and M5 the internalAcceptMethod has been made private instead of protected. I would suggest to make this method protected again or even better provide an API that could reuse the JDT completion logic.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java