Hi!
In other hand the construction of enum constants could be more complex like EnumDeclaration from japa library:
Code:
public final class EnumConstantDeclaration extends BodyDeclaration {
private String name;
private List<Expression> args;
private List<BodyDeclaration> classBody;
...
}
Not as is defined with only JavaSymbolName List.
Code:
private List<JavaSymbolName> enumConstants = new ArrayList<JavaSymbolName>();
Because we lost lots of information related to a constant like invocations and annotations:
Code:
ABT("ABT"),
CC("CC"),
ACH("ACH"),
@XmlEnumValue("Debt")
DEBT("Debt"),
@XmlEnumValue("Prepaid")
PREPAID("Prepaid");
Thank you !
PD: It's better to post a JIRA describing the improvement for these cases ?