Есть ли способ игнорировать генерацию картографа для 3-го метода в этом примере кода с использованием mapstruct?
@Mapper(unmappedSourcePolicy = ReportingPolicy.IGNORE, unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface EmployeeMapper {
EmployeeMapper MAPPER = Mappers.getMapper( EmployeeMapper.class );
@Mapping(source = "id", target = "id")
@Mapping(source = "firstName", target = "firstname")
@Mapping(source = "surname", target = "surname")
@Mapping(source = "employmentses", target = "employmentDTOList")
EmployeeDTO employee2dto(Employees employees);
@Mapping(source = "id", target = "id")
@Mapping(source = "firstName", target = "firstname")
@Mapping(source = "surname", target = "surname")
@Mapping(target = "employmentDTOList", ignore = true)
EmployeeDTO domainView2dto(EmployeeView employeeView);
//to be ignored by Mapstruct
EmployeePageDTO domainPage2dto(Page<EmployeeView> employeeViewPage);
}