println("implements Visitable");
println("implements jjtraveler.Visitable");
	  private void genAlternativeClassImpl(Type type, Alternative alt)	  {	    println("public class " + className);	    println("extends " + typeId);	    if (visitable) {	      println("implements Visitable");	    }	    println("{");	    println("  static private aterm.ATerm pattern = null;");	    println();	    println("  protected aterm.ATerm getPattern() {");	    println("    return pattern;");	    println("  }");	    	    genAltFieldIndexMembers(type,alt);	    genAltClone(type, alt);	    genAltMake(type, alt);	    genAltInitialize(alt);	    genAltFromTerm(type, alt);	    genAltToTerm(type,alt);	    genOverrideProperties(type,alt);	    genAltGetAndSetMethods(type, alt);	    genAltHashFunction(type, alt);	    	    if (visitable) {	      genAltVisitableInterface(type, alt);	    }	    	    println("}");	  }