PsiComment (final PsiComment comment) { if (comment instanceof PsiDocComment) { final PsiJavaDocumentedElement owner = ((PsiDocComment)comment).getOwner(); if (owner != null) { return owner.getDocComment(); } } return null; }