}
final char[] triggers = new char[1];
triggers[triggers.length - 1] = ';';
ret[i++] = new PositionBasedCompletionProposal(name, pos,
replacementLength, getImage(), name, null, null, triggers);
}
if (!fillBestGuess) {
// insert a proposal with the argument name
ICompletionProposal[] extended = new ICompletionProposal[ret.length + 1];
System.arraycopy(ret, 0, extended, 1, ret.length);
extended[0] = new PositionBasedCompletionProposal(paramName, pos,
replacementLength/* paramName.length() */, null, paramName,
null, null, NO_TRIGGERS);
return extended;
}
return ret;