Annotation Type 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:
    When
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      When value  
    • Element Detail

      • value

        When value
        Default:
        edu.umd.cs.findbugs.annotations.When.ANYTIME