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
count++;
			}
		}
		return (count > 0);
	}
	/*
	 * Returns fields in the selection or <code>null</code> if the selection is 
	 * empty or not valid.
	 */
	private IField[] getSelectedFields(IStructuredSelection selection) {
		List elements = selection.toList();
		int nElements = elements.size();
		if (nElements > 0) {
			IField[] res = new IField[nElements];
			ICompilationUnit cu = null;
			for (int i = 0; i < nElements; i++) {
				Object curr = elements.get(i);
				if (curr instanceof IField) {
					IField fld = (IField) curr;
					if (i == 0) {
						
						cu = fld.getCompilationUnit();
						if (cu == null) {
							return null;
						}
					} else if (!cu.equals(fld.getCompilationUnit())) {
						
						return null;
					}
					try {