Demonstrates how the decorator pattern could be implemented using the features of Java 8.