KotlinIsland
5e173c9f83
Minor: remove redundant suppression ( #3812 )
...
The suppression is not needed after KT-12448 has been fixed.
2021-03-04 08:18:35 +03:00
Stanislav Erokhin
67090e1afb
Move KTypeProjection to separate file
2020-07-22 11:08:14 +03:00
Ilya Gorbunov
010e530ac4
Make common KClass extend common KClassifier
...
It already does that in all platforms.
Add KClass common API test.
2020-07-13 23:20:52 +03:00
Ilya Gorbunov
8dfcebf542
Expose KTypeProjection.STAR constant in a field
...
#KT-30083
2020-06-25 18:25:24 +03:00
Ilya Gorbunov
53cbcfac5a
Validate arguments of KTypeProjection constructor
...
#KT-34596 Fixed
2020-06-25 18:25:24 +03:00
Ilya Gorbunov
d41e8ed4ad
Annotate KTypeProjection factory methods with JvmStatic
...
#KT-30084 Fixed
2020-06-25 18:25:24 +03:00
Abduqodiri Qurbonzoda
e3fb74b656
Promote KClass.cast/safeCast, KAnnotatedElement.hasAnnotation() to stable
2020-06-03 23:50:48 +03:00
Abduqodiri Qurbonzoda
fe50bb4b93
KProperty and ReadOnlyProperty type parameter names #KT-16529
2020-02-26 17:34:03 +03:00
Alexander Udalov
e34a207725
Implement KTypeProjection.toString
...
The implementation is checked by tests on typeOf.
#KT-30071 Fixed
2020-01-21 19:34:01 +01:00
Ilya Gorbunov
ac7e54f651
Improve terminological consistency in KClass docs
2020-01-16 15:36:13 +03:00
Ilya Gorbunov
3a78ab6d40
Do not use qualifiedName property in KClass.cast function, because it's not supported in K/JS
...
Introduce an internal property that returns either qualified or simple name, and use it instead.
2020-01-16 15:36:07 +03:00
Ilya Gorbunov
ea95aabbb0
Optimistically add isInstance and qualifiedName to common KClass
...
Because they are used in common cast and safeCast functions
2020-01-16 15:33:15 +03:00
Ilya Gorbunov
47f78c424d
Commonize KType API
...
Move KTypeProjection, KVariance, KClassifier, KTypeParameter to stdlib-common.
#KT-29748 Fixed
#KT-32855 Fixed
2020-01-16 15:33:15 +03:00
Ilya Gorbunov
d87fb0ece0
Introduce expect KFunction in common
2020-01-16 15:33:14 +03:00
Alexander Udalov
7f4b568021
Mark new KClass.cast/safeCast extensions as low-priority
...
To avoid overload resolution ambiguity error in sources where everything
from both kotlin.reflect and kotlin.reflect.full is imported with a
star-import
2019-11-05 19:34:06 +01:00
Alexander Udalov
896512f7cd
Support KClass.isInstance/cast/safeCast in stdlib-only reflection implementation
...
#KT-14720 Fixed
2019-10-29 15:52:00 +01:00
Alexander Udalov
fec9ee6408
Minor, add kdoc for typeOf
2019-06-07 00:29:35 +02:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Ilya Gorbunov
ffe8b4419c
Docs: use consistent kotlinlang.org url in references
2019-03-13 17:53:37 +03:00
Alexander Udalov
d1e33534db
Implement typeOf intrinsic on JVM
...
#KT-29915 Fixed
2019-03-05 18:16:31 +01:00
Ilya Gorbunov
000e7493a1
Introduce common KCallable and K(Mutable)Property(ø,0,1,2) interfaces
...
#KT-25935
2018-09-11 19:21:15 +03:00
Ilya Gorbunov
7b46d22877
Introduce common KClass interface #KT-25935
2018-09-11 18:45:55 +03:00