@Retention(value=CLASS)
@Target(value=METHOD)
public @interface Expires
For use with extension methods if a method should not be used after and including a specified JDK release.
When targeting the specified JDK or later the method will not appear as an extension.