Playing around with Eclipse JDT AST to generate code