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
if (member.exists()) {
					status.setError(NewWizardMessages.getString("TypePage.error.TypeNameExists")); 
					return status;
				}
			}
		}
		return status;
	}
	
	/**
	 * Called when the superclass name has changed.
	 * The method validates the superclass name and returns the status of the validation.
	 * Can be extended to add more validation
	 */
	protected IStatus superClassChanged() {
		StatusInfo status= new StatusInfo();
		IPackageFragmentRoot root= getPackageFragmentRoot();
		fSuperClassDialogField.enableButton(root != null);
		
		fSuperClass= null;
		
		String sclassName= getSuperClass();
		if (sclassName.length() == 0) {
			
			return status;
		}
		IStatus val= JavaConventions.validateJavaTypeName(sclassName);
		if (!val.isOK()) {
			status.setError(NewWizardMessages.getString("TypePage.error.InvalidSuperClassName")); 
			return status;