fixed allowed enum values not showing when enum is declared as a field without a getter