boolean (PsiClass inspectionClass) { Module module = ModuleUtilCore.findModuleForPsiElement(inspectionClass); if (module == null) { return false; } return InspectionDescriptionInfo.create(module, inspectionClass).getShortNameMethod() != null; }