out.println("import org.freedesktop.dbus."+superclass+";");
out.println("import org.freedesktop.dbus.Tuple;");
   void createTuple(String name, int num, String pack, PrintStream out, String superclass) throws DBusException   {      out.println("package "+pack+";");      out.println("import org.freedesktop.dbus."+superclass+";");      out.println("/** Just a typed container class */");      out.print("public final class "+name);      String types = " <";      for (char v = 'A'; v < 'A'+num; v++)          types += v + ",";      out.print(types.replaceAll(",$","> "));      out.println("extends "+superclass);      out.println("{");      char t = 'A';      char n = 'a';      for (int i = 0; i < num; i++,t++,n++)         out.println("   public final "+t+" "+n+";");      out.print("   public "+name+"(");      String sig = "";      t = 'A';      n = 'a';      for (int i = 0; i < num; i++,t++,n++)         sig += t+" "+n+", ";      out.println(sig.replaceAll(", $", ")"));      out.println("   {");      out.print("      super(");      sig = "";      for (char v = 'a'; v < 'a'+num; v++)          sig += v+", ";      out.println(sig.replaceAll(", $", ");"));      for (char v = 'a'; v < 'a'+num; v++)          out.println("      this."+v+" = "+v+";");      out.println("   }");      out.println("}");   }