Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 643 Bytes

MissingOverride.md

File metadata and controls

31 lines (18 loc) · 643 Bytes

Pattern: Missing java.lang.Override annotation when {@inheritDoc} tag exists

Issue: -

Description

Verifies that the java.lang.Override annotation is present when the {@inheritDoc} Javadoc tag is present.

Examples

To configure the check:

 <module name="MissingOverride"/>

To configure the check for the javaFiveCompatibility mode:

   <module name="MissingOverride">
      <property name="javaFiveCompatibility"
 value="true"/>
   </module>

Further Reading