@Target(value={TYPE,METHOD})
public @interface RequiresJdk8
Annotates classes and methods which depend on JDK 8 API methods for compilation.
Use at the most limited scope possible, as annotated elements are excluded from
animal-sniffer JDK 6 API checks, therefore could risk leaking usage of newer APIs
to code meant to run on JDK 6 or 7.