Community
Participate
Working Groups
LegacyJavadocCompletionProposalComputer has not been touched since 2005. I suggest to evaluate if it can be deleted.
New Gerrit change created: https://git.eclipse.org/r/158204
LegacyJavadocCompletionProposalComputer#computeProposals() basically ends up calling getContributedProcessors(), which looks for extensions to 'org.eclipse.jdt.ui.javadocCompletionProcessor' https://github.com/eclipse/eclipse.jdt.ui/blob/master/org.eclipse.jdt.ui/schema/javadocCompletionProcessor.exsd "Deprecated as of 3.2. Extenders should rather contribute to the <tt>org.eclipse.jdt.ui.javaCompletionProposalComputer</tt> extension point, which allows to provide additional proposals not only for javadoc, but any part of a Java editor." To be safe I think we should just confirm it's generally returning an empty list, and then see if anything in simrel actually makes use of it.
We should probably stick to just LegacyJavadocCompletionProposalComputer as it's non-API. From what I can tell LegacyJavadocCompletionProposalComputer is always returning an empty list in a regular Eclipse SDK and I couldn't find anything that contributes to the extension point or uses IJavadocCompletionProposal in releases/2020-03 that would cause its return to be non-empty.
(In reply to Roland Grunberg from comment #3) > We should probably stick to just LegacyJavadocCompletionProposalComputer as > it's non-API. I assume you mean that we should not yet delete the schema. Fine for me, I would suggest to do this as a separate step. > From what I can tell LegacyJavadocCompletionProposalComputer is always > returning an empty list in a regular Eclipse SDK and I couldn't find > anything that contributes to the extension point or uses > IJavadocCompletionProposal in releases/2020-03 that would cause its return > to be non-empty. So the Gerrit is fine in its current form?
Gerrit change https://git.eclipse.org/r/158204 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=0c717a6e4ba12263cef92d8af4bda68938702c37
Verified for 4.16 M1 using I20200407-0120 build