From 79aa954682ff138d1c82f57c79c59881cac3f785 Mon Sep 17 00:00:00 2001 From: Igor Yakovlev Date: Wed, 15 May 2019 18:46:21 +0300 Subject: [PATCH] Fix render of classpath log message for UL-classes --- .../idea/caches/resolve/IDELightClassGenerationSupport.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/idea/idea-analysis/src/org/jetbrains/kotlin/idea/caches/resolve/IDELightClassGenerationSupport.kt b/idea/idea-analysis/src/org/jetbrains/kotlin/idea/caches/resolve/IDELightClassGenerationSupport.kt index 0fdad05bdfb..ebfd05f2557 100644 --- a/idea/idea-analysis/src/org/jetbrains/kotlin/idea/caches/resolve/IDELightClassGenerationSupport.kt +++ b/idea/idea-analysis/src/org/jetbrains/kotlin/idea/caches/resolve/IDELightClassGenerationSupport.kt @@ -74,9 +74,10 @@ class IDELightClassGenerationSupport(private val project: Project) : LightClassG return KtUltraLightClass(element, object : KtUltraLightSupport { override fun isTooComplexForUltraLightGeneration(element: KtClassOrObject): Boolean { val facet = KotlinFacet.get(module) - val pluginClasspath = facet?.configuration?.settings?.compilerArguments?.pluginClasspaths - if (!pluginClasspath.isNullOrEmpty()) { - LOG.debug { "Using heavy light classes for ${element.fqName?.asString()} because of compiler plugins $pluginClasspath" } + val pluginClasspaths = facet?.configuration?.settings?.compilerArguments?.pluginClasspaths + if (!pluginClasspaths.isNullOrEmpty()) { + val stringifiedClasspaths = pluginClasspaths.joinToString() + LOG.debug { "Using heavy light classes for ${element.fqName?.asString()} because of compiler plugins $stringifiedClasspaths" } return true }