// Javadoc inherited.
public void debug(DebugStylingWriter writer) {
if (namespace == null && localName.equals("class")
&& constraint instanceof ListContains) {
ListContains classConstraint = (ListContains) constraint;
writer.print(".").print(classConstraint.getConstraintValue());
} else if (namespace == null && localName.equals("class")
&& constraint instanceof Equals) {
Equals equalsConstraint = (Equals) constraint;
writer.print("#").print(equalsConstraint.getConstraintValue());