CDoclet can be used to generate files out of Java sources into other languages like Actionscript or C#