String () { if (myElement instanceof PsiParameter parameter) { PsiMethod method = PsiTreeUtil.getParentOfType(parameter, PsiMethod.class); if (method != null) { PsiParameterList parameterList = method.getParameterList(); if (parameter.getParent() == parameterList) { ParamInfo tagInfoProvider = findTagInfoProvider(parameter, method, parameterList); if (tagInfoProvider != null) { PsiElement[] elements = tagInfoProvider.docTag.getDataElements(); if (elements.length == 0) return null; String text = elements[0].getText(); StringBuilder buffer = new StringBuilder(); generateValue(buffer, tagInfoProvider, elements, text); return buffer.toString(); } } } } return null; }