Inherit KType from KAnnotatedElement, implement KType.annotations

#KT-16795 Fixed
This commit is contained in:
Alexander Udalov
2018-08-03 18:02:23 +02:00
committed by Ilya Gorbunov
parent e4bbe2d5e2
commit ceb909d261
14 changed files with 280 additions and 7 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ package kotlin.reflect
* Represents a type. Type is usually either a class with optional type arguments,
* or a type parameter of some declaration, plus nullability.
*/
public interface KType {
public interface KType : KAnnotatedElement {
/**
* The declaration of the classifier used in this type.
* For example, in the type `List<String>` the classifier would be the [KClass] instance for [List].