Add support for Java 8 code samples in documentation
Merge pull request #2527 from pvlugter/java8-code-samples

Add support for Java 8 code samples in documentation