boolean (@NotNull Processor<? super Segment> processor) { for (UsageInfo usageInfo : getMergedInfos()) { Segment segment = usageInfo.getSegment(); if (segment != null && !processor.process(segment)) { return false; } } return true; }