Do not add inner class names to functions in Java static scope

Previously it was needed for SAM adapters, but they can no longer be
found in this scope
This commit is contained in:
Alexander Udalov
2017-06-29 18:02:59 +03:00
parent c4e7f1aa97
commit 778a6758a5
@@ -48,7 +48,6 @@ class LazyJavaStaticClassScope(
if (jClass.isEnum) {
addAll(listOf(DescriptorUtils.ENUM_VALUE_OF, DescriptorUtils.ENUM_VALUES))
}
addAll(jClass.innerClassNames)
}
override fun computePropertyNames(kindFilter: DescriptorKindFilter, nameFilter: ((Name) -> Boolean)?) =