haveType

infix fun haveType(typeFqName: String): PropertiesRuleBuilder

Restricts the rules to properties with the specified type (simple or fully qualified).


Restricts the rules to properties with the specified raw type.


infix fun haveType(typeFqNames: List<String>): PropertiesRuleBuilder
fun haveType(vararg typeFqNames: String): PropertiesRuleBuilder

Restricts the rules to properties with any of the specified types.


@JvmName(name = "haveTypesByKClass")
infix fun haveType(types: List<KClass<*>>): PropertiesRuleBuilder

Filter or assertion criteria for have type.