private static boolean shouldProcess(@NotNull PsiFile psiFile, boolean onTheFly) {
    return ContainerUtil.all(EP_NAME.getExtensionList(), filter -> onTheFly ? filter.shouldHighlight(psiFile) : filter.shouldProcessInBatch(psiFile));
  }
private static boolean shouldProcess(@NotNull PsiFile psiFile, boolean onTheFly)