Code that needs to be compatible with Java 7 cannot use types or members that are only present in the JDK 8 class libraries
Suppress false positives by adding the suppression annotation @SuppressWarnings("Java7ApiChecker")
to the enclosing element.