void (@NotNull LookupElementPresentation presentation) { presentation.setIcon(DefaultLookupItemRenderer.getRawIcon(this)); presentation.setStrikeout(JavaElementLookupRenderer.isToStrikeout(this)); MemberLookupHelper helper = myHelper != null ? myHelper : new MemberLookupHelper(myMethod, myContainingClass, false, false); helper.renderElement(presentation, myHelper != null, myHelper != null && !myHelper.willBeImported(), getSubstitutor()); if (!myForcedQualifier.isEmpty()) { presentation.setItemText(myForcedQualifier + presentation.getItemText()); } if (myPresentableTypeArgs != null) { String itemText = presentation.getItemText(); assert itemText != null; int i = itemText.indexOf('.'); if (i > 0) { presentation.setItemText(itemText.substring(0, i + 1) + myPresentableTypeArgs + itemText.substring(i + 1)); } } }