}
} else return new StatusInfo(IStatus.ERROR, "");
		public IStatus validate(Object[] selection) {			StatusInfo state = new StatusInfo();			if (selection != null && selection.length > 0) {				HashSet map = new HashSet(selection.length);				int count = 0;				for (int i = 0; i < selection.length; i++) {					Object key = selection[i];					if (selection[i] instanceof Methods2Field) {						count++;						try {							key = createSignatureKey(((Methods2Field) selection[i]).fMethod);						} catch (JavaModelException e) {							return new StatusInfo(StatusInfo.ERROR, e.toString());						}					}					if (!map.add(key)) { //$NON-NLS-1$						state = new StatusInfo(IStatus.ERROR, ActionMessages.getString("AddDelegateMethodsAction.duplicate_methods")); //$NON-NLS-1$						break;					} else {						String message;						message = ActionMessages.getFormattedString("AddDelegateMethodsAction.selectioninfo.more", //$NON-NLS-1$ 																	new Object[] { String.valueOf(count), String.valueOf(fEntries)} );						state = new StatusInfo(IStatus.INFO, message);					}				}			}			return state;		}			