boon/src/main/java/org/boon/criteria/Criterion.java
public FieldAccess field(  ) {


        FieldAccess field;

        if (path) {
            field = BeanUtils.idxField(objectUnderTest, name.toString());


            if (field == null) {
                return fakeField();
            }

            return field;
        }

        if (name instanceof Enum) {
            name = Str.camelCaseLower(name.toString());
        }

        field = fields().get(name);

        return field;
    }
public FieldAccess field(  ) {


        FieldAccess field;

        if (path) {
            field = BeanUtils.idxField(objectUnderTest, name.toString());


            if (field == null) {
                return fakeField();
            }

            return field;
        }

        if (name instanceof Enum) {
            name = Str.camelCaseLower(name.toString());
        }

        field = fields().get(name);

        return field;
    }
Gets the field value.
@return the value of the field