This function serializes an object directly to code. You can use a static
import to use it.
import static de.apaxo.test.Serialize.object2code;
System.out.println(object2code(myBean));
Parameters:
o - the object to serialze
Returns:
a string containing the java code for creating the object