enumDecl.astBody(body);
} else {
throw new IllegalStateException("Unknown type declaration: " + node);
}
typeDecl.astName(new Identifier().astValue(name));
typeDecl.astModifiers((Modifiers) toTree(node.mods));
addJavadoc(typeDecl, node.mods);
set(node, typeDecl);
}