void (@NotNull LookupElementPresentation presentation) { super.renderElement(presentation); String tailText = StringUtil.notNullize(presentation.getTailText()); int genericsEnd = tailText.lastIndexOf('>') + 1; presentation.clearTail(); presentation.appendTailText(tailText.substring(0, genericsEnd), false); if (myArguments != null) { presentation.appendTailText("(" + myArguments.presentation() + ")", false); } else { presentation.appendTailText(MemberLookupHelper.getMethodParameterString(myConstructor, mySubstitutor), false); } presentation.appendTailText(tailText.substring(genericsEnd), true); }