Introduce ClassDescriptor.getSealedSubclasses

#KT-12795 In Progress
This commit is contained in:
Alexander Udalov
2016-12-30 17:48:31 +03:00
parent 164c72e877
commit 75a4958144
14 changed files with 117 additions and 42 deletions
@@ -135,6 +135,8 @@ class LazyJavaClassDescriptor(
override fun getFunctionTypeForSamInterface(): SimpleType? = c.components.samConversionResolver.resolveFunctionTypeIfSamInterface(this)
override fun getSealedSubclasses(): Collection<ClassDescriptor> = emptyList()
override fun toString() = "Lazy Java class ${this.fqNameUnsafe}"
private inner class LazyJavaClassTypeConstructor : AbstractClassTypeConstructor(c.storageManager) {