add 'package' to java snippets.