问题
Is there any way that things (e.g. methods) in javadoc don't get rearranged alphabetically? I just want them to appear in the order they also appear in the sourcecode to keep a certain flow when reading through the documentation.
回答1:
Usually, the methods themselves (in the Method Detail section) stay in the same order as they are in the source code.
Just the Method Summary is sorted alphabetically, and I don't think you can change this.
来源:https://stackoverflow.com/questions/8169205/disable-alphabetically-sorting-in-javadoc