Bug 6758 Class name corrupted by creating member class using wizard
Build 20011206 - opened org.eclipse.ui.actions.DeleteResourceAction - using new class wizard, created member class named DeleteProjectDialog as a subclass of MessageDialog (in org.eclipse.jface.dialogs) - the result was: ... public class DeleteRes ourceAction extends SelectionListenerAction { public class DeleteProjectDialog extends MessageDialog { } ... Note the extra tab in DeleteResourceAction, and the strange formatting for the new class.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
*/		
	protected String getTypeComment() {
		if (CodeGenerationPreferencePage.doCreateComments()) {
			return getTemplate("typecomment");
		}
		return null;
	}
	
	protected String getTemplate(String name) {
		Template[] templates= Templates.getInstance().getTemplates();
		for (int i= 0; i < templates.length; i++) {
			if (name.equals(templates[i].getName())) {
				return templates[i].getPattern();
			}
		}
		return null;
	}	
	
	/**
	 * Creates the bodies of all unimplemented methods or/and all constructors
	 * Can be used by implementors of TypePage to add method stub checkboxes
	 */
	protected String[] constructInheritedMethods(IType type, boolean doConstructors, boolean doUnimplementedMethods, IImportsStructure imports, IProgressMonitor monitor) throws CoreException {
		List newMethods= new ArrayList();
		ITypeHierarchy hierarchy= type.newSupertypeHierarchy(monitor);
		CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings();
		if (doConstructors) {
			IType superclass= hierarchy.getSuperclass(type);
			if (superclass != null) {
				StubUtility.evalConstructors(type, superclass, settings, newMethods, imports);