Fix render of classpath log message for UL-classes

This commit is contained in:
Igor Yakovlev
2019-05-15 18:46:21 +03:00
parent 1c4ad193b3
commit 79aa954682
@@ -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
}