@Override
    public void isUpToDate(@NotNull Project project, boolean isUpToDate) {
      if (!isUpToDate) return;

      CompilerReferenceServiceBase<?> service = getInstanceIfEnabled(project);
      if (service != null) {
        executeOnBuildThread(service::markAsUpToDate);
      }
    }
@Override
    public void isUpToDate(@NotNull Project project, boolean isUpToDate)