Whenever I create a new Java file in Eclipse and check off the option to add public static void main(String args[]), this code is generated:
public static void main(String args[])
pub
Eclipse has a lot of configuration options. Take a look in the Windows | Preferences dialog (or the Eclipse Preferences pan on OSX).
If you dig deep enough - you'll find the options under Java | Code Style.