Can one pass enumeration to switch statement in Java ?