GNOME Bugzilla – Bug 765070
Java: final keyword on a parameter brakes docs inherinance
Last modified: 2016-09-05 13:46:20 UTC
*Preface* Let's imagine we have an interface A and a class B, where B implements A. public interface A { /** * Cool description. */ void method(int parameter); } public class B implements A { @Override public void method(final int parameter) { } } *The problem* In case 'finality' of parameters in the class doesn't match exactly 'finality' of parameters in the interface (in other words the class B marks some parameters final while the interface A doesn't or vice-versa) the class B won't inherit the docs from the interface A. *Expected result* 'final' keyword used on parameters doesn't affect inheritance as it's not a part of method signature. The class B should inherit the docs from the interface A even if there is a difference in 'finality' of parameters. Attached: doxygen-final.zip -- cnfig and source files that shows the problem
Created attachment 326052 [details] doxygen-final.zip
Confirmed. Should be fixed in the next GIT update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.12. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferably in the form of a self-contained example).