Represent a constraint provider by its TypeMirror instead of a String.