void (@NlsSafe String line, Consumer<? super BuildEvent> messageConsumer) { List<MavenParsingContext.MavenExecutionEntry> ids = myParsingContext.getAllEntriesReversed(); for (MavenParsingContext.MavenExecutionEntry entry : ids) { if (entry.getId() == myTaskId) { return; } messageConsumer.accept(new OutputBuildEventImpl(entry.getId(), withSeparator(line), true)); } }