public static String getName( String pname, DataTypes type, StringBuilder sb ) {
    String jname = xml2jname(pname);

    // Emit the code to do the load
    return jname;
  }
public static String getName ( String pname , DataTypes type , StringBuilder sb ) { String jname = xml2jname ( pname ) ; return jname ; }
to emit it at runtime.