Sdk (T data, Collection<Sdk> existingSdks) { final String name = getDefaultUnfinishedName(); final SdkType sdkType = getSdkType(data); final ProjectJdkImpl sdk = createSdk(existingSdks, sdkType, data, name); data.setValid(false); return sdk; }