Specifying Java source file retention

Use keepJavaFile() to specify whether to retain the .java source file:
public void keepJavaFile(boolean value)
The value parameter indicates whether the createUDTClass() method should retain the .java file that it generates when it creates the Java™ class file for the new opaque type. The default is to remove the file. The following example specifies keeping the .java file:
mdata.keepJavaFile(true);