Operation constants are static fields created in the static block in the appearing order.
static {
// instantiate enum instances here
...
// Initialize map from constant name to enum constant
for (Operation op : values())
stringToEnum.put(op.toString(), op);
}