Java reflection: Is the order of class fields and methods standardized?
问题 Using reflection on Java classes to access all field, methods, and so on: Is there a standardized order of these elements (which is specified in some standard)? Of course, I could check it empirically, but I need to know if it\'s always the same. EDIT: I waited for the question: What I need the order for ;) Long story short: I have JAXB-annotated classes, and want no represent these classes visually. While the order of XML attributes is neither relevant for the XML standard, nor for JAXB, I