JEnumType.getEnumContants() were not being returned in declaration order.  This patch updates the AbstractMembers classes to use LinkedHashMaps so that the insertion order is preserved.  JDT visits fields and methods in declaration order so this also addresses the problem with enumeration constants.  JEnumTypeTest was updated accordingly.

Review by: spoon
Suggested by: tobyr

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2068 8db76d5a-ed1c-0410-87a9-c151d255dfc7
4 files changed