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
private static boolean fgReplaceFlag = false;
	private static boolean fgOverrideFinalsFlag = false;
	private static final String DIALOG_TITLE = ActionMessages.getString("AddDelegateMethodsAction.error.title"); 
	private CompilationUnitEditor fEditor;
	/**
	 * Creates a new <code>AddDelegateMethodsAction</code>. The action requires
	 * that the selection provided by the site's selection provider is of type <code>
	 * org.eclipse.jface.viewers.IStructuredSelection</code>.
	 * 
	 * @param site the site providing context information for this action
	 */
	public AddDelegateMethodsAction(IWorkbenchSite site) {
		super(site);
		setText(ActionMessages.getString("AddDelegateMethodsAction.label")); 
		setDescription(ActionMessages.getString("AddDelegateMethodsAction.description")); 
		setToolTipText(ActionMessages.getString("AddDelegateMethodsAction.tooltip")); 
		WorkbenchHelp.setHelp(this, IJavaHelpContextIds.ADD_DELEGATE_METHODS_ACTION);
	}
	/**
	 * Note: This constructor is for internal use only. Clients should not call this constructor.