void (@NotNull InsertionContext context, @NotNull LookupElement item) { final Object object = item.getObject(); if (object instanceof ReflectiveSignature) { final String text = ", " + getMethodTypeExpressionText((ReflectiveSignature)object); replaceText(context, text); } else if (object instanceof PsiField field) { final String typeText = getTypeText(field.getType()); final String text = ", " + typeText + ".class"; replaceText(context, text); } }