Bug 8911 Set defaults for new Java Class Wizard's method stubs options
In the new Java Class Wizard, I would like to change the default options for the method stubs. Currently, it always defaults to no main method, no constructors from superclass and inherit abstract methods.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizardPage.java
LayoutUtil.setHorizontalSpan(fMethodStubsButtons.getSelectionButtonsGroup(composite), nColumns - 1);	
	}	
	
	
	
	/*
	 * @see TypePage#evalMethods
	 */
	protected String[] evalMethods(IType type, IImportsStructure imports, IProgressMonitor monitor) throws CoreException {
		List newMethods= new ArrayList();
		
		boolean doConstr= fMethodStubsButtons.isSelected(1);
		boolean doInherited= fMethodStubsButtons.isSelected(2);
		String[] meth= constructInheritedMethods(type, doConstr, doInherited, imports, new SubProgressMonitor(monitor, 1));
		for (int i= 0; i < meth.length; i++) {
			newMethods.add(meth[i]);
		}
		if (monitor != null) {
			monitor.done();
		}
		
		if (fMethodStubsButtons.isSelected(0)) {
			String main= "public static void main(String[] args) {}"; 
			newMethods.add(main);
		}		
		
		return (String[]) newMethods.toArray(new String[newMethods.size()]);
	}
	
}