boolean (final List<? super String> result, PsiDocComment comment, String tagName) { if ("author".equals(tagName)) { result.add(tagName + " " + SystemProperties.getUserName()); return true; } if ("param".equals(tagName)) { List<PsiNamedElement> parameters = getParametersToSuggest(comment); for (PsiNamedElement parameter : parameters) { result.add(tagName + " " + nameForParamTag(parameter)); } return !parameters.isEmpty(); } if ("see".equals(tagName)) { PsiMember member = PsiTreeUtil.getParentOfType(comment, PsiMember.class); if (member instanceof PsiClass) { InheritanceUtil.processSupers((PsiClass)member, false, psiClass -> { String name = psiClass.getQualifiedName(); if (StringUtil.isNotEmpty(name) && !CommonClassNames.JAVA_LANG_OBJECT.equals(name)) { result.add("see " + name); } return true; }); } } return true; }