PsiDocComment (PsiVariable variable) { final PsiElement[] children = variable.getChildren(); for (PsiElement child : children) { if (child instanceof PsiDocComment) { return (PsiDocComment)child; } } return null; }