By that logic it would be an optimization to skip any class that won't match the cases below.  Why is Literal a special case?