class FormBuildingServiceImpl implements FormBuildingService {

    @Override
    public FormDefinition generateFormForModel(Object model, FormElementFilter... filters) {
        if (model == null) {
            throw new IllegalArgumentException("Cannot generate form: Model cannot be null");
        }

        return formGenerator.generateFormForModel(model, filters);
    }

    @Inject public  FormBuildingServiceImpl(FormGenerator formGenerator);

}