commonMain.dk.cachet.carp.common.application.Immutable.kt Maven / Gradle / Ivy
Go to download
Helper classes and base types relied upon by all subsystems. This library does not contain any domain logic.
The newest version!
package dk.cachet.carp.common.application
/**
* Specifies that the class this annotation is applied to, and all extending classes, should be immutable.
* Immutable types may not contain mutable properties or properties of mutable types.
*/
@Target( AnnotationTarget.CLASS )
annotation class Immutable