/* (non-Javadoc)
  * @see uk.ac.kent.cs.ocl20.semantics.model.SemanticsVisitor#visit(uk.ac.kent.cs.ocl20.semantics.model.contexts.ClassifierContextDecl, java.lang.Object)
  */
 public Object visit(ClassifierContextDecl host, Object data) {
   List result = new Vector();
   Iterator j = host.getConstraint().iterator();
   while (j.hasNext()) {
     Constraint con = (Constraint) j.next();
     if (con.getKind() == ConstraintKind$Class.INV) {
       // --- Compute the type ---
       OclExpression exp = con.getBodyExpression();
       if (exp != null) {
         result.add(exp.accept(this, data));
       } else {
         result.add(" Undefined !!! ");
       }
     }
   }
   return result;
 }
 public Object visit(Constraint host, Object data) {
   return host.getBodyExpression().accept(this, data);
 }