JvmSerializableLambda

Common
JVM
1.8
@Target([AnnotationTarget.EXPRESSION]) annotation class JvmSerializableLambda
(Common source) (JVM source)

Makes the annotated lambda function implement java.io.Serializable, generates a pretty toString implementation and adds reflection metadata.

Constructors

JVM
1.0

<init>

Makes the annotated lambda function implement java.io.Serializable, generates a pretty toString implementation and adds reflection metadata.

JvmSerializableLambda()

Extension Properties

JVM
1.0

annotationClass

Returns a KClass instance corresponding to the annotation type of this annotation.

val <T : Annotation> T.annotationClass: KClass<out T>