docs: @CheckReturnValue
    public ScannerSupplier filter(Predicate<? super BugCheckerInfo> predicate) {
      ImmutableSet.Builder<String> disabled = ImmutableSet.builder();
      for (BugCheckerInfo check : getAllChecks().values()) {
        if (!predicate.apply(check)) {
          disabled.add(check.canonicalName());
        }
      }
      return new ScannerSupplierImpl(getAllChecks(), severities(), disabled.build(), getFlags());
    }