@ Override @ SuppressFBWarnings ( "EI_EXPOSE_REP" ) public < K , V > void setPredicates ( Predicate < K , V > [ ] predicates ) { if ( this . predicates == null ) { this . predicates = predicates ; } else { throw new IllegalStateException ( "Cannot reset predicates in an OrPredicate after they have been already set." ) ; } }
Visitable predicates are treated as effectively immutable therefore callers should not make any changes to the array passed as argument after is has been set .