Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Data(val internal: Boolean = false)

Annotated classes will generate typed query helpers at compile time. See documentation.

Link copied to clipboard
annotation class DataRegistry(val value: Array<KClass<*>>, val internal: Boolean = false)

Give the same behaviour than @Data to the specified KClass array. Useful if you can't annotate directly the target classes.