Support KPackage.members, functions and properties
This commit is contained in:
@@ -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<*>>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user