class EnumType extends AegisType {

    @Override
    public Object readObject(MessageReader reader, Context context) {
        String value = reader.getValue();
        return matchValue(value);
    }

}