On 02.12.19 01:51, Remko Popma wrote:
On Mon, Dec 2, 2019 at 9:31 Milles, Eric (TR Tech, Content & Ops) <eric.mil...@thomsonreuters.com <mailto:eric.mil...@thomsonreuters.com>> wrote: Trait fields for properties are added by TraitComposer as it encounters the getter methods (around line 250). Methods are processed in the order returned from ClassNode#getDeclaredMethods, which uses a HashSet. Should that be changed to a LinkedHashSet?
If the ClassNode is formed by reflection there is no order to depend on. I do not even know if ASM gurantees the order. So I wonder if it really makes sense bye Jochen