if (visitable) { genAltVisitableInterface(type, alt); }
genAltConstructor(); genInitMethod(); genInitHashcodeMethod(); genAltFieldIndexMembers(type, alt); genAltDuplicateMethod(type, alt); genAltEquivalentMethod(type, alt); genAltMake(type, alt); genAltToTerm(); genOverrideProperties(type, alt); genAltGetAndSetMethods(type, alt); genAltHashFunction(type, alt);
	private void genAlternativeClass(Type type, Alternative alt) {		boolean visitable = getJavaGenerationParameters().isVisitable();		print("public class " + className + " extends " + superClassName);			if (visitable) {			print(" implements jjtraveler.Visitable");		}		println(" {");		genAltConstructor();		genInitMethod();		genInitHashcodeMethod();		genAltFieldIndexMembers(type, alt);		genAltDuplicateMethod(type, alt);		genAltEquivalentMethod(type, alt);		genAltMake(type, alt);		genAltToTerm();		genOverrideProperties(type, alt);		genAltGetAndSetMethods(type, alt);		genAltHashFunction(type, alt);		if (visitable) {			genAltVisitableInterface(type, alt);		}		println("}");	}