List < Predicate > function ( ) { if ( lastVisited == null ) { return Collections . emptyList ( ) ; } if ( lastVisited instanceof OrPredicate ) { return Arrays . asList ( ( ( OrPredicate ) lastVisited ) . getPredicates ( ) ) ; } return Collections . singletonList ( lastVisited ) ; }
obtain a list of simplified predicates based on the rules described in the class documentation . concode_field_sep Predicate lastVisited concode_elem_sep ResourceProvider resourceProvider concode_field_sep void acceptAlwaysPredicate concode_elem_sep void acceptCategoryPredicate concode_elem_sep void acceptUnaryPredicate concode_elem_sep void acceptArrayPredicate concode_elem_sep List<Predicate> distribute concode_elem_sep List<Predicate> distributeOr concode_elem_sep void acceptComparisonPredicate