void () { PsiClass psiClass = getTestClass(); PsiReferenceList extendsList = psiClass.getExtendsList(); assertNotNull(extendsList); PsiJavaCodeReferenceElement referenceElement = extendsList.getReferenceElements()[0]; PsiClass superClass = extendsList.getReferencedTypes()[0].resolve(); String docInfo = new JavaDocumentationProvider().getQuickNavigateInfo(superClass, referenceElement); assertNotNull(docInfo); assertFileTextEquals(UIUtil.getHtmlBody(docInfo)); }