Applying Java 8 Idioms to Existing Code