class DataModelerServiceHelper {

    public List<DataModelerError> toDataModelerError(List<DriverError> errors) {
        final List<DataModelerError> result = new ArrayList<>();
        if (errors == null) {
            return result;
        }
        for (DriverError error : errors) {
            DataModelerError dataModelerError = new DataModelerError(
                    error.getId(),
                    error.getMessage(),
                    Level.ERROR,
                    error.getFile(),
                    error.getLine(),
                    error.getColumn());
            result.add(dataModelerError);
        }
        return result;
    }

    public  DataModelerServiceHelper();
    @Inject public  DataModelerServiceHelper(final KieModuleService moduleService,
                                    final @Named("ioStrategy") IOService ioService,
                                    final CommentedOptionFactory commentedOptionFactory);

}