LookupElement () { TailType returnTail = getReturnTail(myPosition); LookupElement ret = createKeyword(PsiKeyword.RETURN); if (returnTail != TailTypes.noneType()) { ret = new OverridableSpace(ret, returnTail); } return ret; }