How to invoke the automatic code formatting for a JotClassSource?

2004-05-05 05:56:14 PM
I have written some code generators that insert statements into Java
classes using the JOT API. Since I heavily use addStatement(...) to
include whole blocks of code (instead of using the fine grained
methods for adding loops, method calls, and so on), the formatting of
the resulting java file is very bad.
To solve that, is there a way to invoke the builtin JBuilder code
formatter on the JotClassSouce?
Thanks in advance.