A set of java-mode snippets for YASnippet.
I highly recommend installing
yasnippet-java-mode through elpa.
The package name is
java-snippets and it’s available on MELPA.
M-x package-install java-snippets
Old fashion way
Put “snippets/java-mode” directory under your “~/.emacs.d/snippets/” directory.
The following describes two ways of installing. The first method requires that
git is installed and the second does not.
git clone https://github.com/nekop/yasnippet-java-mode.git /tmp/yasnippet-java-mode mv /tmp/yasnippet-java-mode/snippets/java-mode ~/.emacs.d/snippets/
Download an archive and extract to the directory you want to install in.