def generate_java(src, out, jpackage_name=None):
    package = compile(src)
    java.generate(package, out, jpackage_name=jpackage_name)
Generates java files.
dataset/ETHPy150Open pdef/pdef/compiler/pdefc/__init__.py/generate_java