Java can spew type as "enum const"

Which will beat the single-minded split.

Signed-off-by: Bao Haojun <baohaojun@gmail.com>