println("  public " + typeName + " getTail() {"); println("    return (" + typeName + ") getNext();");
String className = ListTypeGenerator.className(type);  println("  public " + className + " getTail() {"); println("    return (" + className + ") getNext();");
	private void genGetTail() {		println("  public " + typeName + " getTail() {");		println("    return (" + typeName + ") getNext();");		println("  }");	}