add function to Emacs Java Compiler