for (int i = 0; i < tokens.size(); i++) {
IToken t = it.next();
int replacementOffset = offset - qlen;
String representation = t.getRepresentation();
if (representation.startsWith(tokenAndQual.qualifier)) {
ret.add(new PyLinkedModeCompletionProposal(representation, replacementOffset, qlen, representation
.length(), t, null, null, IPyCompletionProposal.PRIORITY_DEFAULT,
PyCompletionProposal.ON_APPLY_DEFAULT, ""));
}
}
return ret.toArray(new ICompletionProposal[ret.size()]);