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