Use java-snippets package.