Home | History | Annotate | Download | only in annotation
      1 package javax.annotation;
      2 
      3 import java.lang.annotation.Documented;
      4 import java.lang.annotation.ElementType;
      5 import java.lang.annotation.Retention;
      6 import java.lang.annotation.RetentionPolicy;
      7 import 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)
     18 public @interface OverridingMethodsMustInvokeSuper {
     19 
     20 }
     21