Bug 10762 Generate getter and setter of a field starting with the 'F' letter
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
}							
			}
			String name= prefix ? val + "x" : "x" + val; 
			IStatus status= JavaConventions.validateFieldName(name);
			if (status.matches(IStatus.ERROR)) {
				if (prefix) {
					return new StatusInfo(IStatus.ERROR, JavaUIMessages.getFormattedString("CodeGenerationPreferencePage.gettersetter.error.invalidprefix", val)); 
				} else {
					return new StatusInfo(IStatus.ERROR, JavaUIMessages.getFormattedString("CodeGenerationPreferencePage.gettersetter.error.invalidsuffix", val)); 
				}
			}
		}
		return new StatusInfo();
	
	}
	/*
	 * @see IWorkbenchPreferencePage#init(IWorkbench)
	 */
	public void init(IWorkbench workbench) {
	}
	
	/*
	 * @see IPreferencePage#performOk()
	 */
	public boolean performOk() {
		IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore();
		prefs.setValue(PREF_USE_GETTERSETTER_SUFFIX, fUseGetterSetterSuffix.isSelected());
		prefs.setValue(PREF_GETTERSETTER_SUFFIX, fGetterSetterSuffix.getText());
		prefs.setValue(PREF_USE_GETTERSETTER_PREFIX, fUseGetterSetterPrefix.isSelected());
		prefs.setValue(PREF_GETTERSETTER_PREFIX, fGetterSetterPrefix.getText());