Source code generation for Java (Core)