intField

fun intField(name: String, value: Int)

Add a validated Kotlin Int constant. Int.MIN_VALUE is emitted as valid Kotlin source.


fun intField(name: String, value: Provider<Int>)

intField from a provider. The same rules as stringField apply.