PropertiesShould

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Asserts that selected properties are annotated with all of the specified annotations.

Link copied to clipboard

Asserts that selected properties have all of the specified modifiers.

Link copied to clipboard
fun haveAnnotationOf(vararg annotationNames: String): PropertiesRuleBuilder
infix fun haveAnnotationOf(annotationName: String): PropertiesRuleBuilder
infix fun haveAnnotationOf(annotationNames: List<String>): PropertiesRuleBuilder
Link copied to clipboard

Asserts that selected properties are annotated with any of the specified annotations.

Link copied to clipboard

Asserts that selected properties have at least one of the specified modifiers.

Link copied to clipboard

Asserts that selected properties have any of the specified visibilities.

Link copied to clipboard

Asserts that selected properties contain the specified modifier.

Link copied to clipboard
Link copied to clipboard
fun haveType(vararg typeFqNames: String): PropertiesRuleBuilder
infix fun haveType(typeFqName: String): PropertiesRuleBuilder
infix fun haveType(typeFqNames: List<String>): PropertiesRuleBuilder
Link copied to clipboard

Asserts that selected properties have the specified visibility.

Link copied to clipboard
fun resideInAPackage(vararg packagePatterns: String): PropertiesRuleBuilder
infix fun resideInAPackage(packagePattern: String): PropertiesRuleBuilder
infix fun resideInAPackage(packagePatterns: List<String>): PropertiesRuleBuilder