Updated snippets for java mode