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