Transient

Platform and version requirements: JVM (1.0)
@Target([AnnotationTarget.FIELD]) annotation class Transient

Marks the JVM backing field of the annotated property as transient, meaning that it is not part of the default serialized form of the object.

Constructors

Platform and version requirements: JVM (1.0)

<init>

Marks the JVM backing field of the annotated property as transient, meaning that it is not part of the default serialized form of the object.

<init>()

Extension Properties

Platform and version requirements: JVM (1.0)

annotationClass

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

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

© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-transient/index.html