chow the type of the class (if it is template, or constraintSpec)