add java-mode snippets