Java7ApiChecker
Use of class, field, or method that is not compatible with JDK 7

Severity
ERROR

The problem

Code that needs to be compatible with Java 7 cannot use types or members that are only present in the JDK 8 class libraries

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("Java7ApiChecker") to the enclosing element.