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
throws CoreException {
			String methodName = curr.getElementName();
			String[] paramNames = curr.getParameterNames();
			String returnTypSig = curr.getReturnType();
			StringBuffer buf = new StringBuffer();
			if (addComment) {
				String comment =
					CodeGeneration.getMethodComment(
						fType.getCompilationUnit(),
						fType.getElementName(),
						methodName,
						paramNames,
						curr.getExceptionTypes(),
						returnTypSig,
						overridden,
						String.valueOf('\n'));
				if (comment != null) {
					buf.append(comment);
				}
			}
			String methodDeclaration = null;
			if (fType.isClass()) {
				StringBuffer body = new StringBuffer();
				if (!Signature.SIG_VOID.equals(returnTypSig)) {
					body.append("return "); 
				}
				if (JdtFlags.isStatic(curr)) {
					body.append(resolveTypeOfField(field).getElementName());
				} else {
					body.append(field.getElementName());