void (String interpreterPath, @Nullable Element element, RemoteSdkAdditionalData data) { for (CredentialsType type : CredentialsType.EP_NAME.getExtensionList()) { if (type.hasPrefix(interpreterPath)) { Object credentials = type.createCredentials(); try { type.getHandler(credentials).load(element); } catch (CredentialsCantBeLoaded e) { Logger.getInstance(CredentialsManagerImpl.class).warn(e); continue; } data.setCredentials(type.getCredentialsKey(), credentials); return; } } UnknownCredentialsHolder credentials = CredentialsType.UNKNOWN.createCredentials(); credentials.setSdkId(interpreterPath); credentials.load(element); data.setCredentials(CredentialsType.UNKNOWN_CREDENTIALS, credentials); }