dotfiles/.emacs.d/snippets/java-mode/main_class

11 lines
221 B
Plaintext

# contributor: L. Guruprasad <lgp171188@gmail.com>
# name: main_class
# key: main_class
# --
class `(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))`
{
public static void main(String args[])
{
$0
}
}