@Override
    public boolean isApplicable(@NotNull Project project) {
      CompilerReferenceServiceBase<?> serviceBase = getInstanceIfEnabled(project);
      return serviceBase != null && serviceBase.hasIndex();
    }
@Override
    public boolean isApplicable(@NotNull Project project)