Support KPackage.members, functions and properties

This commit is contained in:
Alexander Udalov
2015-07-15 23:50:45 +03:00
parent 95be8b11f5
commit 93656c93c1
11 changed files with 184 additions and 72 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ public interface KClass<T> : KDeclarationContainer {
* All functions and properties accessible in this class, including those declared in this class
* and all of its superclasses. Does not include constructors.
*/
public val members: Collection<KCallable<*>>
override val members: Collection<KCallable<*>>
/**
* All constructors declared in this class.
@@ -20,4 +20,9 @@ package kotlin.reflect
* Represents an entity which may contain declarations of any other entities,
* such as a class or a package.
*/
public interface KDeclarationContainer
public interface KDeclarationContainer {
/**
* All functions and properties accessible in this container.
*/
public val members: Collection<KCallable<*>>
}