Change opcode enums to enum classes.
Switch operands to enum classes.
Merge branch 'master' into java