21 lines
580 B
Java
21 lines
580 B
Java
![]() |
package javax.annotation;
|
||
|
|
||
|
import java.lang.annotation.Documented;
|
||
|
import java.lang.annotation.ElementType;
|
||
|
import java.lang.annotation.Retention;
|
||
|
import java.lang.annotation.RetentionPolicy;
|
||
|
import java.lang.annotation.Target;
|
||
|
|
||
|
/**
|
||
|
* When this annotation is applied to a method, it indicates that if this method
|
||
|
* is overridden in a subclass, the overriding method should invoke this method
|
||
|
* (through method invocation on super).
|
||
|
*
|
||
|
*/
|
||
|
@Documented
|
||
|
@Target( { ElementType.METHOD })
|
||
|
@Retention(RetentionPolicy.RUNTIME)
|
||
|
public @interface OverridingMethodsMustInvokeSuper {
|
||
|
|
||
|
}
|