Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Builder(val initializeNullableProperties: Boolean = false)
Link copied to clipboard
annotation class BuilderConstructor
Link copied to clipboard
annotation class BuilderDslMarker
Link copied to clipboard
class CollectionDsl<T>(val target: MutableCollection<T>)
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class NoBuilder
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class PropertyInitializer(val initializerValue: String = "", val initializerString: String = "", val imports: Array<String> = [])

Functions

Link copied to clipboard
Link copied to clipboard
fun randomString(stringLength: Int = 5): String
Link copied to clipboard
@JvmName(name = "withRandomValuesBigDecimal")
fun CollectionDsl<in BigDecimal>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesLocalDateTime")
fun CollectionDsl<in LocalDateTime>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesLocalDate")
fun CollectionDsl<in LocalDate>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesUUID")
fun CollectionDsl<in UUID>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesDouble")
fun CollectionDsl<in Double>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesFloat")
fun CollectionDsl<in Float>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesInt")
fun CollectionDsl<in Int>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesLong")
fun CollectionDsl<in Long>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesString")
fun CollectionDsl<in String>.withRandomValues(count: Int = 2)