rewrite rules: code generation: to empty java methods