blob: ed286f11d738876b77e6750cdc209c88eb5d529e [file] [view] [edit]
The `@inheritDoc` tag should only be used on classes/interfaces which extend or
implement another and methods which override a method from a superclass.
```java
class Frobnicator {
/** {@inheritDoc} */
public void frobnicate() {
// ...
}
}
```
## Suppression
Suppress by applying `@SuppressWarnings("InheritDoc")` to the element being
documented.