Merged pattern and violationbuilder in one class