@FunctionalInterface
(available since JDK 1.8).
Annotating an interface with @FunctionalInterface
indicates that the interface
is functional and cannot have any more abstract
methods.
This inspection only reports if the language level of the project or module is eight or higher.