Bug 34803 AddMethodDelegateAction includes System.out.println statements
Are these trace statements? Then we should use the options mechanism to enable them. If these are error messages then we should show a dialog to the user or log them in the log file. if (fgOverrideFinalsFlag) { System.out.println ("method final"); //$NON-NLS-1$ System.out.println (overwrittenMethod); }
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java
} catch (CoreException e) {
			ExceptionHandler.handle(e, getShell(), DIALOG_TITLE, ActionMessages.getString("AddDelegateMethodsAction.error.actionfailed")); 
		}
	}
	
	
	private void showUI(IType type, IField[] preselected) {
		try {
			FieldContentProvider provider = new FieldContentProvider(type);
			Methods2FieldLabelProvider methodLabel = new Methods2FieldLabelProvider();
			CheckedTreeSelectionDialog dialog = new CheckedTreeSelectionDialog(getShell(), methodLabel, provider);
			dialog.setValidator(new ISelectionStatusValidator() {
				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)) { 
								state = new StatusInfo(IStatus.ERROR, ActionMessages.getString("AddDelegateMethodsAction.duplicate_methods")); 
								break;