String () { final PsiMethod method = getElement(); if (method != null) { return method.getName() + " " + StringUtil.join(method.getParameterList().getParameters(), psiParameter -> { PsiTypeElement typeElement = psiParameter.getTypeElement(); return typeElement != null ? typeElement.getText() : ""; }, " "); } return ""; }