String className = TypeGenerator.className(type); String visitorPackage = VisitorGenerator.qualifiedClassName(getJavaGenerationParameters(),type.getModuleName());  println( "  public " + abstractListPackage + " accept(" + visitorPackage + " v) throws " + traveler + ".VisitFailure {"); println("    return v.visit_" + className + "(this);"); println("  }"); println();
Iterator moduleIt; if (hasGlobalName) { moduleIt = adt.getModuleNameSet().iterator(); } else { Set moduleToGen = adt.getImportsClosureForModule(type.getModuleName()); moduleIt = moduleToGen.iterator(); }  while(moduleIt.hasNext()) { String moduleName = (String) moduleIt.next(); String visitorPackage = VisitorGenerator.qualifiedClassName(getJavaGenerationParameters(),moduleName); String className = TypeGenerator.className(type); String abstractListPackage = AbstractListGenerator.qualifiedClassName(getJavaGenerationParameters(),type.getModuleName());  println("  public " + abstractListPackage + " accept(" + visitorPackage + " v) throws " + traveler + ".VisitFailure {"); println("    return v.visit_" + className + "(this);"); println("  }");    println(); }
	private void genVisitableInterface() {		String className = TypeGenerator.className(type);		String visitorPackage = VisitorGenerator.qualifiedClassName(getJavaGenerationParameters(),type.getModuleName());				println(   	            "  public " + abstractListPackage + " accept("   	            + visitorPackage   	            + " v) throws " + traveler + ".VisitFailure {");   	    println("    return v.visit_" + className + "(this);");   	    println("  }");   	    println();	}