Annotate kotlin.reflect.jvm.reflect with ExperimentalReflectionOnLambdas

This function was always experimental, as explained in its kdoc, but it
was introduced before opt-in requirement markers were supported. Thus,
breaking changes (such as in KT-42746) were always expected, and the
`@ExperimentalReflectionOnLambdas` annotation just makes it clearer.

 #KT-45486 Fixed
This commit is contained in:
Alexander Udalov
2021-03-11 14:56:48 +01:00
parent 43140db65e
commit fc36178f3a
11 changed files with 42 additions and 3 deletions
@@ -66,6 +66,9 @@ public final class kotlin/reflect/full/NoSuchPropertyException : java/lang/Excep
public synthetic fun <init> (Ljava/lang/Exception;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
}
public abstract interface annotation class kotlin/reflect/jvm/ExperimentalReflectionOnLambdas : java/lang/annotation/Annotation {
}
public final class kotlin/reflect/jvm/KCallablesJvm {
public static final fun isAccessible (Lkotlin/reflect/KCallable;)Z
public static final fun setAccessible (Lkotlin/reflect/KCallable;Z)V