void (Tool source) { myName = source.getName(); myDescription = source.getDescription(); myGroup = source.getGroup(); myShownInMainMenu = source.isShownInMainMenu(); myShownInEditor = source.isShownInEditor(); myShownInProjectViews = source.isShownInProjectViews(); myShownInSearchResultsPopup = source.isShownInSearchResultsPopup(); myEnabled = source.isEnabled(); myUseConsole = source.isUseConsole(); myShowConsoleOnStdOut = source.isShowConsoleOnStdOut(); myShowConsoleOnStdErr = source.isShowConsoleOnStdErr(); mySynchronizeAfterExecution = source.synchronizeAfterExecution(); myWorkingDirectory = source.getWorkingDirectory(); myProgram = source.getProgram(); myParameters = source.getParameters(); myOutputFilters = new ArrayList<>(Arrays.asList(source.getOutputFilters())); }