Annotation Type OverrideMustInvoke


@Documented @Deprecated @Target(METHOD) @Retention(CLASS) public @interface OverrideMustInvoke
Deprecated.
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
    Deprecated.
     
  • Element Details

    • value

      When value
      Deprecated.
      Default:
      ANYTIME