intellij-plugin-verifier/verifier-intellij/src/main/kotlin/com/jetbrains/pluginverifier/response/VerifierServiceResultConverter.kt [68:93]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - javaVersion, convertResultType(), verificationVerdict, dependenciesGraph.convert(), pluginStructureWarnings = pluginStructureWarnings.map { it.convert() }, compatibilityWarnings = compatibilityWarnings.map { it.convert() }, compatibilityProblems = compatibilityProblems.map { it.convert() }, deprecatedApiUsages = deprecatedUsages.map { it.convert() }, experimentalApiUsages = experimentalApiUsages.map { it.convert() }, internalApiUsages = internalApiUsages.map { it.convert() }, overrideOnlyApiUsages = overrideOnlyMethodUsages.map { it.convert() }, nonExtendableApiUsages = nonExtendableApiUsages.map { it.convert() }, dynamicPluginStatus = dynamicPluginStatus!!.convert() ) } } fun DynamicPluginStatus.convert(): DynamicPluginStatusDto { return when (this) { is DynamicPluginStatus.MaybeDynamic -> DynamicPluginStatusDto(true, emptyList()) is DynamicPluginStatus.NotDynamic -> DynamicPluginStatusDto(false, reasonsNotToLoadUnloadWithoutRestart.toList()) } } fun PluginVerificationResult.Verified.convertResultType(): VerificationResultTypeDto = when { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - plugins-verifier-service/src/main/kotlin/org/jetbrains/plugins/verifier/service/service/verifier/VerifierServiceResultConverter.kt [68:93]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - javaVersion, convertResultType(), verificationVerdict, dependenciesGraph.convert(), pluginStructureWarnings = pluginStructureWarnings.map { it.convert() }, compatibilityWarnings = compatibilityWarnings.map { it.convert() }, compatibilityProblems = compatibilityProblems.map { it.convert() }, deprecatedApiUsages = deprecatedUsages.map { it.convert() }, experimentalApiUsages = experimentalApiUsages.map { it.convert() }, internalApiUsages = internalApiUsages.map { it.convert() }, overrideOnlyApiUsages = overrideOnlyMethodUsages.map { it.convert() }, nonExtendableApiUsages = nonExtendableApiUsages.map { it.convert() }, dynamicPluginStatus = dynamicPluginStatus!!.convert() ) } } fun DynamicPluginStatus.convert(): DynamicPluginStatusDto { return when (this) { is DynamicPluginStatus.MaybeDynamic -> DynamicPluginStatusDto(true, emptyList()) is DynamicPluginStatus.NotDynamic -> DynamicPluginStatusDto(false, reasonsNotToLoadUnloadWithoutRestart.toList()) } } fun PluginVerificationResult.Verified.convertResultType(): VerificationResultTypeDto = when { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -