This inspection reports anonymous types which can be replaced with method references

Method references syntax is not supported under Java 1.7 or earlier JVMs.