-
Type:
Bug
-
Status: Closed
-
Resolution: Won't Fix
-
Affects Version/s: 6.1.20 EE GA2
-
Fix Version/s: 6.2.0 CE M2
-
Component/s: Documentation
-
Labels:None
The @Override tag is only being inserted when the child class is overriding a method of the parent class/interface. If the overridden method is not in the parent classs/interface, but is instead in an ancestor of the parent, the override is not being detected and hence the @Override tag is not being appended to the overriding method.
For example,
- GrandParent interface specifies method1()
- Abstract class Parent implements GrandParent, but does not implement method1()
- GrandChild class extends Parent and implements method1() ... overriding GrandParent.method1()
... JavadocFormatter should detect this overriding method and append @Override to GrandChild.method1()