if (!status.isOK()) {
if (status.getSeverity() == IStatus.ERROR) {
	private void validateAccessorClassName(){		String className= fAccessorClassName.getText();				getNLSRefactoring().setAccessorClassName(className);		if (fUseDefaultPattern.isSelected()){			getNLSRefactoring().setCodePattern(getNLSRefactoring().getDefaultCodePattern());			fCodePattern.setText(getNLSRefactoring().getCodePattern());		} else {			getNLSRefactoring().setCodePattern(fCodePattern.getText());		}				IStatus status= JavaConventions.validateJavaTypeName(className);		if (!status.isOK()) {			setInvalid(fAccessorClassName, status.getMessage());			return;		}				if (className.indexOf(".") != -1){ //$NON-NLS-1$			setInvalid(fAccessorClassName, NLSUIMessages.getString("wizardPage2.no_dot")); //$NON-NLS-1$			return;		}				setValid(fAccessorClassName);	}