final Object adapter =
factory.adapt(symbol, IContentProposalProvider.class);
if (adapter instanceof IContentProposalProvider)
{
final IContentProposalProvider provider =
(IContentProposalProvider) adapter;
final ICompletionProposal[] proposal =
provider.getProposals(symbol, creationInfo);
if (proposal != null)
{
addProposalsMatchingProposalStart(completionList, proposal);
}
}