/** * This is a helper method to invoke all decorators and send them a message. * * @param message * The message to send the decorators. * @param sourceNode * The source node. * @param targetNode * The target node. */ protected void invokeDecorators(final AbstractMessage message, final DependencyGraphNode<?> sourceNode, final DependencyGraphNode<?> targetNode) { for (final AbstractNodeDecorator currentDecorator : this.decorators) { currentDecorator.processMessage(message, sourceNode, targetNode, super.recordsTimeUnitFromProjectContext); } }