This is done in classes org.hibernate.cfg.Configuration, and org.hibernate.cfg.AnnotationBinder, search for constraint keyword there and put some breakpoints.
You can also turn on the logging and search for the constraint names or keyword constraint, try with DEBUG level first and TRACE if it doesn't help:
<logger name="org.hibernate">
<level value="debug" />
</logger >