Just curious, is that common to wrap enum inside classes in java like that ?