pmd: fix #1173 Java 8 support: method references