Support KClass.nestedClasses

This commit is contained in:
Alexander Udalov
2015-08-04 22:50:55 +03:00
parent e8dc9ede31
commit 94d45f35d4
9 changed files with 126 additions and 5 deletions
@@ -49,6 +49,11 @@ public interface KClass<T : Any> : KDeclarationContainer, KAnnotatedElement {
*/
public val constructors: Collection<KFunction<T>>
/**
* All classes declared inside this class. This includes both inner and static nested classes.
*/
public val nestedClasses: Collection<KClass<*>>
/**
* The instance of the object declaration, or `null` if this class is not an object declaration.
*/