private List<String> toString(ICompletionProposal[] proposals) {
if (proposals == null)
return Collections.emptyList();
List<String> res = new ArrayList<String>(proposals.length);
for (ICompletionProposal proposal : proposals) {
<BUG>res.add(proposal.getDisplayString());
}</BUG>
return res;
}
public ContentAssistProcessorTestBuilder assertCountAtCursorPosition(int completionProposalCount, int cursorPosition)

private List<String> toString(ICompletionProposal[] proposals) {
if (proposals == null)
return Collections.emptyList();
List<String> res = new ArrayList<String>(proposals.length);
for (ICompletionProposal proposal : proposals) {
String proposedText = proposal.getDisplayString();
if (proposal instanceof ConfigurableCompletionProposal)
proposedText = ((ConfigurableCompletionProposal) proposal).getReplacementString();
res.add(proposedText);
}
return res;
}
public ContentAssistProcessorTestBuilder assertCountAtCursorPosition(int completionProposalCount, int cursorPosition)
