1package javax.annotation; 2 3import java.lang.annotation.Documented; 4import java.lang.annotation.ElementType; 5import java.lang.annotation.Retention; 6import java.lang.annotation.RetentionPolicy; 7import java.lang.annotation.Target; 8 9/** 10 * When this annotation is applied to a method, it indicates that if this method 11 * is overridden in a subclass, the overriding method should invoke this method 12 * (through method invocation on super). 13 * 14 */ 15@Documented 16@Target( { ElementType.METHOD }) 17@Retention(RetentionPolicy.RUNTIME) 18public @interface OverridingMethodsMustInvokeSuper { 19 20} 21