@Override
  public boolean isApplicable(@NotNull PsiElement element) {
    if (!(element instanceof PsiClass inspectionClass)) {
      return false;
    }
    if (!PsiUtil.isPluginProject(element.getProject())) {
      return false;
    }
    String inspectionClassName = inspectionClass.getName();
    return inspectionClassName != null &&
           inspectionClassName.endsWith(INSPECTION_CLASS_SUFFIX) &&
           InheritanceUtil.isInheritor(inspectionClass, DescriptionType.INSPECTION.getClassName()) &&
           !isGetShortNameMethodOverridden(inspectionClass);
  }
@Override
  public boolean isApplicable(@NotNull PsiElement element)