class FieldToCharImpl<ENTITY, V>
extends AbstractFieldMapper<ENTITY, V, Character, ToChar<ENTITY>, ToCharFunction<V>>
implements FieldToChar<ENTITY, V> {

    public FieldToCharImpl(ReferenceField<ENTITY, ?, V> field,
                           ToCharFunction<V> mapper) {
        super(field, mapper);
    }

    @Override
    public Character apply(ENTITY entity) {<FILL_FUNCTION_BODY>}

    @Override
    public char applyAsChar(ENTITY object) {
        return mapper.applyAsChar(field.get(object));
    }
}

        final V value = field.get(entity);
        if (value == null) return null;
        else return mapper.applyAsChar(value);
    
<methods>public ReferenceField<ENTITY,?,V> getField() ,public ToCharFunction<V> getMapper() ,public FieldIsNotNullPredicate<ENTITY,java.lang.Character> isNotNull() ,public FieldIsNullPredicate<ENTITY,java.lang.Character> isNull() <variables>final non-sealed ReferenceField<ENTITY,?,V> field,final non-sealed ToCharFunction<V> mapper