Add java mode snippets

- Update README for java mode snippets