Annotation Interface OverrideMustInvoke


@Documented @Target(METHOD) @Retention(CLASS) public @interface OverrideMustInvoke
Used to annotate a method that, if overridden, must (or should) be invoked by an invocation on super in the overriding method. Examples of such methods include finalize() and clone(). The argument to the method indicates when the super invocation should occur: at any time, at the beginning of the overriding method, or at the end of the overriding method.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      When value
      Default:
      ANYTIME