T () { final T sdkData = doCreateSdkData(getInterpreterPath());//todo ??? //if (!myCredentialsType2Handler.containsKey(sdkData.getRemoteConnectionType())) return sdkData; //if () { // ArrayUtil.mergeArrays(cases, exCases.toArray(new CredentialsCase[exCases.size()])) //} saveSelectedRadio(myConnectionType); myConnectionType.saveCredentials( sdkData, new CaseCollector() { @Override protected void processEx(CredentialsEditor editor, Object credentials) { editor.saveCredentials(credentials); } }.collectCases()); sdkData.setRunAsRootViaSudo(myRunAsRootViaSudoJBCheckBox.isSelected()); sdkData.setHelpersPath(getTempFilesPath()); return sdkData; }