IStatus val= JavaConventions.validateJavaTypeName(newText);
IStatus val= JavaConventions.validateJavaTypeName(newText, JavaCore.VERSION_1_3, JavaCore.VERSION_1_3);
	private void doValidation() {		StatusInfo status= new StatusInfo();		String newText= fNameDialogField.getText();		if (newText.length() == 0) {			status.setError(""); //$NON-NLS-1$		} else {			if (newText.equals("*")) { //$NON-NLS-1$				if (doesExist("", fIsStatic)) { //$NON-NLS-1$					status.setError(PreferencesMessages.ImportOrganizeInputDialog_error_entryExists); 				}			} else {				IStatus val= JavaConventions.validateJavaTypeName(newText);				if (val.matches(IStatus.ERROR)) {					status.setError(PreferencesMessages.ImportOrganizeInputDialog_error_invalidName); 				} else {					if (doesExist(newText, fIsStatic)) {						status.setError(PreferencesMessages.ImportOrganizeInputDialog_error_entryExists); 					}				}			}		}		updateStatus(status);	}