PropertiesThat

Functions

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

Restricts the rules to properties annotated with all of the specified annotations. Matches either simple names or FQNs.

Link copied to clipboard

Restricts the rules to properties containing all of the specified modifiers.

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

Restricts the rules to properties annotated with any of the specified annotations.

infix fun haveAnnotationOf(annotationName: String): PropertiesRuleBuilder

Restricts the rules to properties annotated with the specified annotation. Matches either the annotation's simple name or its FQN.

Link copied to clipboard

Restricts the rules to properties annotated with any of the specified annotations. Matches either simple names or FQNs.

Link copied to clipboard

Restricts the rules to properties containing any of the specified modifiers.

Link copied to clipboard

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

Link copied to clipboard

Restricts the rules to properties containing the specified modifier.

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

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

infix fun haveType(typeFqName: String): PropertiesRuleBuilder

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

Link copied to clipboard

Restricts the rules to properties with 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
Link copied to clipboard