List<String> () { final List<String> commandLine = new ArrayList<>(); commandLine.add(mySdk.getHomePath()); commandLine.add(PythonHelpersLocator.getHelperPath(GENERATOR3)); commandLine.add("-d"); commandLine.add(mySkeletonsPath); if (!ContainerUtil.isEmpty(myAssemblyRefs)) { commandLine.add("-c"); commandLine.add(StringUtil.join(myAssemblyRefs, ";")); } if (!ContainerUtil.isEmpty(myExtraSysPath)) { commandLine.add("-s"); commandLine.add(StringUtil.join(myExtraSysPath, File.pathSeparator)); } commandLine.addAll(myExtraArgs); if (StringUtil.isNotEmpty(myTargetModuleName)) { commandLine.add(myTargetModuleName); if (StringUtil.isNotEmpty(myTargetModulePath)) { commandLine.add(myTargetModulePath); } } return commandLine; }