PsiElement (PsiManager psiManager, String link, PsiElement context) { PsiElement result = doIfNotNull(findDescriptor(psiManager, link, context), PsiMetaData::getDeclaration); DocumentationProvider styleProvider = getStyleProvider(); if (result == null && styleProvider != null) { result = styleProvider.getDocumentationElementForLink(psiManager, link, context); } DocumentationProvider provider = getScriptDocumentationProvider(); if (result == null && provider != null && !DumbService.isDumb(psiManager.getProject())) { result = provider.getDocumentationElementForLink(psiManager, link, context); } return result; }