diff --git a/JavaClass.java b/JavaClass.java index 00460d4..52108cb 100644 --- a/JavaClass.java +++ b/JavaClass.java @@ -546,12 +546,10 @@ else if (hret != null && !mret.isAssignableFrom (hret)) { for (String sig : sigs) appendMethod (methods.get (sig), doc, e); - if (!jclass.isEnum ()) { // enums are somehow skipped. - Field [] fields = getDeclaredFields (); - sortFields (fields); - for (Field field : fields) - appendField (field, asmFields.get (field.getName ()), doc, e); - } + Field [] fields = getDeclaredFields (); + sortFields (fields); + for (Field field : fields) + appendField (field, asmFields.get (field.getName ()), doc, e); parent.appendChild (e); }