A set of java-mode snippets for YASnippet.
The master branch is for yasnippet 0.8 or later, if you use 0.6 please use yasnippet-0.6 branch.
I highly recommend installing
yasnippet-java-mode through elpa.
It’s available on MELPA, Note that package name is
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.