IStatus val= JavaConventions.validatePackageName(newText);
IStatus val= JavaConventions.validatePackageName(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(PreferencesMessages.TypeFilterInputDialog_error_enterName); 		} else {			newText= newText.replace('*', 'X').replace('?', 'Y');			IStatus val= JavaConventions.validatePackageName(newText);			if (val.matches(IStatus.ERROR)) {				status.setError(Messages.format(PreferencesMessages.TypeFilterInputDialog_error_invalidName, val.getMessage())); 			} else {				if (fExistingEntries.contains(newText)) {					status.setError(PreferencesMessages.TypeFilterInputDialog_error_entryExists); 				}			}		}		updateStatus(status);	}