PropertiesShouldTypeAssertions

Type and package assertions for property rules.

Inheritors

Properties

Link copied to clipboard

Filter or assertion criteria for builder.

Functions

Link copied to clipboard

Filter or assertion criteria for be documented with k doc.

Link copied to clipboard

Filter or assertion criteria for be member.

Link copied to clipboard

Filter or assertion criteria for be top level.

Link copied to clipboard

Filter or assertion criteria for have all annotations of.

Link copied to clipboard
open infix fun haveAnnotationOf(annotationFqName: String): PropertiesRuleBuilder
open infix fun haveAnnotationOf(annotationNames: List<String>): PropertiesRuleBuilder
open infix fun haveAnnotationOf(annotation: KClass<out Annotation>): PropertiesRuleBuilder
open fun haveAnnotationOf(vararg annotationNames: String): PropertiesRuleBuilder

Filter or assertion criteria for have annotation of.

Link copied to clipboard
open fun haveAnnotationWithArgument(annotationName: String, argName: String? = null, argValue: String): PropertiesRuleBuilder

Filter or assertion criteria for have annotation with argument.

Link copied to clipboard

Filter or assertion criteria for have any annotation of.

Link copied to clipboard
open infix fun haveImportOf(importFqName: String): PropertiesRuleBuilder
open infix fun haveImportOf(type: KClass<*>): PropertiesRuleBuilder

Filter or assertion criteria for have import of.

Link copied to clipboard
open infix fun haveName(predicate: (String) -> Boolean): PropertiesRuleBuilder
open infix fun haveName(name: String): PropertiesRuleBuilder
open infix fun haveName(names: List<String>): PropertiesRuleBuilder
open fun haveName(vararg names: String): PropertiesRuleBuilder

Filter or assertion criteria for have name.

Link copied to clipboard
open fun haveNameEndingWith(vararg suffixes: String): PropertiesRuleBuilder

Filter or assertion criteria for have name ending with.

Link copied to clipboard
open fun haveNameMatching(vararg patterns: String): PropertiesRuleBuilder

Filter or assertion criteria for have name matching.

Link copied to clipboard

Filter or assertion criteria for have name starting with.

Link copied to clipboard

Filter or assertion criteria for have no wildcard imports.

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

Filter or assertion criteria for have type.

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

Filter or assertion criteria for have type in.

Link copied to clipboard
open fun notCall(kClass: KClass<*>): PropertiesRuleBuilder

Filter or assertion criteria for not call.

Link copied to clipboard
open infix fun notHaveImportOf(importFqName: String): PropertiesRuleBuilder
open infix fun notHaveImportOf(type: KClass<*>): PropertiesRuleBuilder

Filter or assertion criteria for not have import of.

Link copied to clipboard
open infix fun notHaveName(names: List<String>): PropertiesRuleBuilder
open fun notHaveName(vararg names: String): PropertiesRuleBuilder

Filter or assertion criteria for not have name.

Link copied to clipboard

Filter or assertion criteria for not have name ending with.

Link copied to clipboard
open fun notHaveNameIn(vararg names: String): PropertiesRuleBuilder

Filter or assertion criteria for not have name in.

Link copied to clipboard

Filter or assertion criteria for not have name matching.

Link copied to clipboard

Filter or assertion criteria for not have name starting with.

Link copied to clipboard

Filter or assertion criteria for not reference class.

Link copied to clipboard
open infix fun notResideInAModule(modulePath: String): PropertiesRuleBuilder
open infix fun notResideInAModule(modulePaths: List<String>): PropertiesRuleBuilder
open fun notResideInAModule(vararg modulePaths: String): PropertiesRuleBuilder

Filter or assertion criteria for not reside in a module.

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

Filter or assertion criteria for not reside in a package.

Link copied to clipboard
open infix fun notResideInModule(modulePath: String): PropertiesRuleBuilder
open infix fun notResideInModule(modulePaths: List<String>): PropertiesRuleBuilder
open fun notResideInModule(vararg modulePaths: String): PropertiesRuleBuilder

Filter or assertion criteria for not reside in module.

Link copied to clipboard
open infix fun notResideInModules(modulePaths: List<String>): PropertiesRuleBuilder
open fun notResideInModules(vararg modulePaths: String): PropertiesRuleBuilder

Filter or assertion criteria for not reside in modules.

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

Filter or assertion criteria for not reside in package.

Link copied to clipboard
open infix fun resideInAModule(modulePath: String): PropertiesRuleBuilder
open infix fun resideInAModule(modulePaths: List<String>): PropertiesRuleBuilder
open fun resideInAModule(vararg modulePaths: String): PropertiesRuleBuilder

Filter or assertion criteria for reside in a module.

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

Filter or assertion criteria for reside in a package.

Link copied to clipboard
open infix fun resideInModule(modulePath: String): PropertiesRuleBuilder
open infix fun resideInModule(modulePaths: List<String>): PropertiesRuleBuilder
open fun resideInModule(vararg modulePaths: String): PropertiesRuleBuilder

Filter or assertion criteria for reside in module.

Link copied to clipboard
open infix fun resideInModules(modulePaths: List<String>): PropertiesRuleBuilder
open fun resideInModules(vararg modulePaths: String): PropertiesRuleBuilder

Filter or assertion criteria for reside in modules.

Link copied to clipboard
open infix fun resideInPackage(predicate: (String) -> Boolean): PropertiesRuleBuilder
open infix fun resideInPackage(packagePattern: String): PropertiesRuleBuilder
open infix fun resideInPackage(packagePatterns: List<String>): PropertiesRuleBuilder
open fun resideInPackage(vararg packagePatterns: String): PropertiesRuleBuilder

Filter or assertion criteria for reside in package.