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
String typename= (String) interfaces.get(i);
				imports.addImport(typename);
				buf.append(Signature.getSimpleName(typename));
				if (i < last) {
					buf.append(", "); 
				}
			}
		}
	}
	/*
	 * Called from createType to construct the source for this type
	 */		
	private String createTypeBody(IImportsStructure imports, String lineDelimiter) {	
		StringBuffer buf= new StringBuffer();
		String typeComment= getTypeComment();
		if (typeComment != null) {
			buf.append(typeComment);
			buf.append(lineDelimiter);
		}
		
		int modifiers= getModifiers();
		buf.append(Flags.toString(modifiers));
		if (modifiers != 0) {
			buf.append(' ');
		}
		buf.append(fIsClass ? "class " : "interface "); 
		buf.append(getTypeName());
		writeSuperClass(buf, imports);
		writeSuperInterfaces(buf, imports);	
		buf.append(" {");