Package-level declarations

Types

Link copied to clipboard

Denotes an experimental API that enables support for array content reading.

Link copied to clipboard

Denotes an experimental API that allows generating Poko functions individually; i.e. a class could have toString or it could have equals and hashCode, without having all three.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Poko

A @Poko class is similar to a data class: the Poko compiler plugin will generate equals, hashCode, and toString functions for any Kotlin class marked with this annotation. Unlike normal data classes, copy or componentN functions are not generated. This makes it easier to maintain data models in libraries without breaking binary compatibility.

Link copied to clipboard
annotation class SkipSupport

Denotes an experimental API that enables the ability to skip a Poko class primary constructor property when generating Poko functions.