List<String> (@NotNull PsiDocComment docComment) { List<String> result = new ArrayList<>(); for (PsiDocTag tag : docComment.getTags()) { if ("param".equals(tag.getName())) { PsiDocTagValue value = tag.getValueElement(); if (value instanceof PsiDocParamRef && !((PsiDocParamRef)value).isTypeParamRef()) { ASTNode token = ((PsiDocParamRef)value).getValueToken(); PsiReference psiReference = value.getReference(); if (psiReference != null && psiReference.resolve() == null && token != null) { result.add(token.getText()); } } } } return result; }