}
public boolean visit(EnumConstantDeclaration node) {
IValueList extendedModifiers = parseExtendedModifiers(node.modifiers());
IValue name = values.string(node.getName().getFullyQualifiedName());
IValueList arguments = new IValueList(values);
if (!node.arguments().isEmpty()) {
for (Iterator it = node.arguments().iterator(); it.hasNext();) {
Expression e = (Expression) it.next();
arguments.add(visitChild(e));
}
}
IValue anonymousClassDeclaration = node.getAnonymousClassDeclaration() == null ? null : visitChild(node.getAnonymousClassDeclaration());
ownValue = constructDeclarationNode("enumConstant", name, arguments.asList(), anonymousClassDeclaration);
setAnnotation("modifiers", extendedModifiers);
return false;
}