Java sealed classes and exhaustive pattern matching — Blankdot