Methods Summary |
---|
public void | addClass(JavaClassWriter classWriter)Adds a class to this source file.
|
public void | addImport(java.lang.String importName, java.lang.String[] comments)Adds an import statement for this source file.
|
public void | save()Saves the file by writing out the source contents to whatever
file (or alternate representation) was specified (usually by the
constructor of the implementation class.
|
public void | setPackage(java.lang.String packageName, java.lang.String[] comments)Sets the package for this file. Note that the package name format
must be package style (that is - it can contain . but not / or $).
|