esk-java: support for enums