clean up the doclet enum code
wip