SlicesShould
Assertions that the slices derived by SlicesRuleBuilder must satisfy.
Functions
Asserts that slices satisfy all assertion blocks in blocks.
Asserts that slices satisfy at least one assertion block in blocks.
Asserts that the slices have no cyclic dependencies between them. Each detected cycle is reported as a path, e.g. payment -> billing -> payment.
Asserts that slices contain classes.
Asserts that slices contain classes in packages matching vararg packagePatterns.
Asserts that slices contain classes in package matching packagePattern.
Asserts that slices contain classes in packages matching packagePatterns.
Asserts that slices contain classes with vararg annotations annotationFqNames.
Asserts that slices contain classes with annotation annotationFqName.
Asserts that slices contain classes with annotations annotationFqNames.
Asserts that slices contain classes with annotation annotation.
Asserts that slices contain classes with annotation type parameter T.
Asserts that slices contain files.
Asserts that all classes in matching slices have one of the specified visibilities.
Asserts that all top-level functions in matching slices have one of the specified visibilities.
Asserts that all top-level properties in matching slices have one of the specified visibilities.
Asserts that slices depend on the specified required slice.
Asserts that slices depend on all specified required slices.
Asserts that slices depend on required slices in requiredSliceKeys.
Asserts that slices have key matching namePattern.
Asserts that slices satisfy none of the assertion blocks in blocks.
Asserts that slices do not call members of type parameter T.
Asserts that slices do not contain the class specified by type parameter T.
Asserts that slices do not contain classes.
Asserts that slices do not contain classes in package matching packagePattern.
Asserts that slices do not contain classes with annotation annotationFqName.
Asserts that slices do not contain classes with annotation annotation.
Asserts that slices do not contain classes annotated with annotation type parameter T.
Asserts that slices do not contain files.
Asserts that no slice depends on any other slice — enforcing complete isolation between them. Every inter-slice dependency is reported.
Asserts that slices do not depend on the specified forbidden slice.
Asserts that slices do not depend on any of the specified forbidden slices.
Asserts that slices do not have key matching namePattern.
Asserts that slices do not reference class type parameter T.
Asserts that slices do not reside in module modulePath.
Asserts that slices do not reside in vararg modules modulePaths.
Asserts that slices do not reside in modules modulePaths.
Asserts that slices depend only on the specified allowed slices vararg.
Asserts that slices depend only on the specified allowed slices.
Asserts that slices reside in module modulePath.
Asserts that slices reside in vararg modules modulePaths.
Asserts that slices reside in modules modulePaths.
Asserts that slices satisfy custom description description.
Asserts that the derived slices satisfy a custom predicate within a SatisfyContext block identified by id and optional description.