Adds support for single .java file generation