@Override
  public boolean isApplicable(@NotNull PsiClass clazz) {
    if (DumbService.isDumb(clazz.getProject())) return false;

    Module module = ModuleUtilCore.findModuleForPsiElement(clazz);
    if (module != null
        && !hasLibraryClass(module, JavaFxCommonNames.JAVAFX_APPLICATION_APPLICATION)) {
      return false;
    }

    return InheritanceUtil.isInheritor(clazz, true, JavaFxCommonNames.JAVAFX_APPLICATION_APPLICATION);
  }
@Override
  public boolean isApplicable(@NotNull PsiClass clazz)