FilterBuilder { @NotNull public Condition any(@NotNull Condition... conditions) { return new AnyCondition(newArrayList(checkNotNull(conditions))); }  @NotNull FilterBuilder setChangeSetFilter(@NotNull ChangeSetFilter changeSetFilter); @NotNull FilterBuilder addSubTree(@NotNull String absPath); FilterBuilder addPathsForMBean(@NotNull Set<String> paths); FilterBuilder aggregator(EventAggregator aggregator); @NotNull FilterBuilder includeSessionLocal(boolean include); @NotNull FilterBuilder includeClusterExternal(boolean include); @NotNull FilterBuilder includeClusterLocal(boolean include); @NotNull FilterBuilder condition(@NotNull Condition condition); @NotNull Condition includeAll(); @NotNull Condition excludeAll(); @NotNull Condition accessControl(@NotNull PermissionProviderFactory permissionProviderFactory); @NotNull Condition path(@NotNull String pathPattern); @NotNull Condition eventType(int eventTypes); @NotNull Condition nodeType(@NotNull Selector selector, @Nullable String[] ntNames); @NotNull Condition uuid(@NotNull Selector selector, @Nullable String[] uuids); @NotNull Condition property(@NotNull Selector selector, @NotNull String name,
            @NotNull Predicate<PropertyState> predicate); @NotNull Condition universal(@NotNull Selector selector, @NotNull Predicate<NodeState> predicate); @NotNull Condition addSubtree(); @NotNull Condition deleteSubtree(); @NotNull Condition moveSubtree(); @NotNull Condition any(@NotNull Condition... conditions); @NotNull Condition all(@NotNull Condition... conditions); @NotNull Condition all(@NotNull List<Condition> conditions); @NotNull Condition not(@NotNull Condition condition); @NotNull Condition any(@NotNull Iterable<Condition> conditions); @NotNull Condition all(@NotNull Iterable<Condition> conditions); @NotNull FilterProvider build();  }
@Test public void emptyAnyShortcuts() { FilterBuilder builder = new FilterBuilder(); Condition condition = builder.any(); assertEquals(ConstantFilter.EXCLUDE_ALL, condition.createFilter(EMPTY_NODE, EMPTY_NODE)); }