Bug 38478 getters/setters: no warning of duplicate methods
20030604 in 'add delegate method' i get an error if duplicate method are selected in generate getter/setter i do not try this (with 'f' set as a field prefix): String fFoo; String foo; you get 2 getFoo's and no error or warning
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
}
			else {
				getterFields= getGetterOnlyFields(result);
				setterFields= getSetterOnlyFields(result);
				getterSetterFields= getGetterSetterFields(result);			
			}
			IJavaElement elementPosition= dialog.getElementPosition();
			
			generate(getterFields, setterFields, getterSetterFields, elementPosition);
		}
	}
	
	private static class AddGetterSetterSelectionStatusValidator implements ISelectionStatusValidator {
		private static int fEntries;
			
		AddGetterSetterSelectionStatusValidator(int entries) {
			fEntries= entries;
		}
		
		public IStatus validate(Object[] selection) {
			int count= countSelectedMethods(selection);
			if (count == 0)
				return new StatusInfo(IStatus.ERROR, ""); 
			String message= ActionMessages.getFormattedString("AddGetterSetterAction.methods_selected", 
																new Object[] { String.valueOf(count), String.valueOf(fEntries)} ); 																	
			return new StatusInfo(IStatus.INFO, message);
		}
		private int countSelectedMethods(Object[] selection){
			int count= 0;
			for (int i = 0; i < selection.length; i++) {