new blog post - java enums code as data