Extract complex predicate as a method