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
}
				body.append('.').append(methodName).append('(');
				for (int i = 0; i < paramNames.length; i++) {
					body.append(paramNames[i]);
					if (i < paramNames.length - 1)
						body.append(',');
				}
				body.append(");"); 
				methodDeclaration = body.toString();
			}
			StubUtility.genMethodDeclaration(fType.getElementName(), curr, methodDeclaration, imports, buf);
			return buf.toString();
		}
	}
	
	private IMethod[] processResults(List list, IType type) throws InvocationTargetException {
		if (list.size() == 0)
			return null;
		ResultRunner resultRunner = new ResultRunner(list, type);
		IRunnableContext runnableContext = new ProgressMonitorDialog(getShell());
		try {
			runnableContext.run(false, true, new WorkbenchRunnableAdapter(resultRunner));
		} catch (InterruptedException e) {
			
			return null;
		}
		return resultRunner.getCreatedMethods();
	}
	
	private static class FieldContentProvider implements ITreeContentProvider {