Package-level declarations
Types
Represents an argument passed to a Kotlin annotation.
Represents a parsed Kotlin annotation declared on a class.
First-class, declarative architectural-layer policy DSL.
First-class, declarative source-set architecture policy DSL.
Represents a parsed Kotlin class, interface, or object declaration.
Context receiver for writing declarative assertions on a ClassDeclaration element. Provides easy access to all element properties and custom helper assertions.
A builder for compiling and verifying architectural rules on Kotlin classes.
Fluent API for defining assertion rules on Kotlin classes.
Fluent API for defining assertion rules on Kotlin classes.
Fluent API for defining assertion rules on Kotlin classes.
Fluent API for defining assertion rules on Kotlin classes.
Fluent API for defining assertion rules on Kotlin classes.
Fluent API for filtering Kotlin classes in architecture rules.
Trait interface for composite, logical and custom predicate filtering on classes.
Trait interface for metadata, annotations, modifiers and visibility filtering on classes.
Trait interface for name matching and naming pattern filtering on classes.
Trait interface for package and module residency filtering on classes.
Common scope interface providing access to ClassesRuleBuilder.
Trait interface for structural, hierarchy, member and type assignability filtering on classes.
Typealias for class scope selector.
Fluent assertion receiver for sequential assertions on a ClassSelector.
Represents a constructor declaration of a Kotlin class.
Represents a declared project-to-project dependency edge at runtime.
Represents a source file declaration containing classes, functions, properties, and imports.
Context wrapper for verifying source file declarations.
Context receiver for writing declarative assertions on a FileDeclarationContext element. Provides easy access to all element properties and custom helper assertions.
Typealias for file scope selector.
Fluent assertion receiver for sequential assertions on a FileSelector.
A builder for compiling and verifying architectural rules on Kotlin source files.
Assertion builder for checking rule expectations on Kotlin file declarations.
Composite condition assertions for file rules.
Content-based assertions for file rules.
Path and package assertions for file rules.
Common scope interface providing access to FilesRuleBuilder.
Assertion scope DSL for configuring rule expectations on Kotlin functions.
Represents a parsed function declaration within a Kotlin source file.
Context wrapper for verifying function declarations.
Context receiver for writing declarative assertions on a FunctionDeclarationContext element. Provides easy access to all element properties and custom helper assertions.
Typealias for function scope selector.
Fluent assertion receiver for sequential assertions on a FunctionSelector.
A builder for compiling and verifying architectural rules on Kotlin function declarations.
Assertion builder for checking rule expectations on Kotlin function declarations.
Member call assertions for function rules.
Composite condition assertions for function rules.
Package dependency assertions for function rules.
Modifier and visibility assertions for function rules.
Naming and package assertions for function rules.
Signature and type assertions for function rules.
Fluent API for filtering Kotlin functions in architecture rules.
Trait interface for composite, logical and custom predicate filtering on functions.
Trait interface for filtering functions by package dependencies.
Trait interface for modifiers, annotations, visibility and modifier filtering on functions.
Trait interface for name matching and naming pattern filtering on functions.
Trait interface for package and module residency filtering on functions.
Common scope interface providing access to FunctionsRuleBuilder.
Trait interface for structural, parameter, return type and declaration location filtering on functions.
Formatter for building semantic HTML error reports from architecture violation reports.
Formatter for building human-readable error messages from architecture violation reports.
DSL Context wrapper that allows defining and verifying multiple independent rule suites.
DSL Marker for Konture DSL structures.
Represents a scope containing a set of Kotlin files for checking file-level rules.
Represents a scope containing a set of function declaration contexts for checking function-level rules in a Konsist-inspired fluent DSL.
Represents a functional scope containing a set of Gradle Module structures for inspection and assertions.
Represents a scope containing a set of property declaration contexts for checking property-level rules in a Konsist-inspired fluent DSL.
Represents a scope containing a set of classes for writing architecture rules in a Konsist-inspired fluent DSL.
Represents a functional scope containing a set of derived Slice objects for inspection and assertions.
A builder class implementing the Layered Architecture DSL.
Type-safe, nested DSL for defining and verifying layered architecture rules.
Selector DSL used within ArchitectureLayerPolicy.selector to define a layer's member modules and/or packages.
Represents a single Gradle module/project and all its structural and source declarations.
Typealias for module scope selector.
Fluent assertion receiver for sequential assertions on a ModuleSelector.
Context receiver for writing declarative assertions on a Module element. Provides easy access to all element properties and custom helper assertions.
A builder for compiling and verifying architectural rules on project modules.
Fluent API for defining assertion rules on Gradle modules.
Composite condition assertions for Gradle module rules.
Outbound dependency assertions for Gradle module rules.
External dependency assertions for Gradle module rules.
Inbound dependency assertions for Gradle module rules.
Structural assertions for Gradle module rules.
Fluent API for defining filtering conditions on Gradle modules.
Common scope interface providing access to ModulesRuleBuilder.
Output format modes for formatting architecture violation reports.
Represents a parameter in a function or constructor declaration.
Known default platform namespaces used for platform-independence checks in Kotlin Multiplatform projects.
Formatter for building IDE and CI problem-matcher compatible error outputs from architecture violation reports.
Programmatic suppression descriptor.
Represents the complete structural graph of the multi-project/composite build. It provides core querying capabilities, circular dependency verification, and access to the parsed class/declaration hierarchy of the entire workspace.
A builder for compiling and verifying architectural rules on Kotlin property declarations.
Assertion builder for checking rule expectations on Kotlin property declarations.
Composite condition assertions for property rules.
Package dependency assertions for property rules.
Modifier and visibility assertions for property rules.
Type and package assertions for property rules.
Filter builder for selecting property declarations matching specific conditions.
Common scope interface providing access to PropertiesRuleBuilder.
Assertion scope DSL for configuring rule expectations on Kotlin properties.
Represents a property declaration within a Kotlin class or source file.
Context wrapper for verifying property declarations.
Context receiver for writing declarative assertions on a PropertyDeclarationContext element. Provides easy access to all element properties and custom helper assertions.
Typealias for property scope selector.
Fluent assertion receiver for sequential assertions on a PropertySelector.
Confidence level of a resolved symbol usage in source code analysis.
DSL builder for configuring named architecture rules with metadata and sub-rule blocks.
Encapsulates a named architecture rule with its metadata and evaluation logic.
DSL builder for configuring a reusable RuleSet.
DSL builder for configuring programmatic violation suppressions with mandatory audit reasons.
Receiver context provided inside satisfy custom predicate assertion blocks.
Typealias for slice scope selector.
Fluent assertion receiver for sequential assertions on a SliceSelector.
Context receiver for writing declarative assertions on a SliceGraph.
A builder for compiling and verifying architectural rules on slices — groups of packages derived from a package pattern with a capture group.
Assertions that the slices derived by SlicesRuleBuilder must satisfy.
Filter builder for selecting architectural slices matching specific conditions.
A source set as exposed to architecture rules.
Broad technology stack classification of a source set.
Indicates whether a source set contains production or test code.
Factory methods for selecting captured Kotlin source sets.
Immutable selector used by source-backed Konture entry points.
A resolved (or conservatively possible) Kotlin source usage.
Represents the visibility modifier of a Kotlin declaration (public, internal, protected, or private).
Properties
Delegates annotations property to the underlying FunctionDeclaration.
Delegates annotations property to the underlying PropertyDeclaration.
Delegates classes property to the underlying FileDeclaration.
Synonym for scope representing class-level functional scope for the entire project.
Retrieves a file-level functional KontureFileScope representing all files in the project.
Retrieves a function-level functional KontureFunctionScope representing all functions in the project.
Delegates imports property to the underlying FileDeclaration.
Delegates isExtension property to the underlying FunctionDeclaration.
Delegates isExtension property to the underlying PropertyDeclaration.
Delegates isVal property to the underlying PropertyDeclaration.
Delegates isVar property to the underlying PropertyDeclaration.
Delegates kdocText property to the underlying FunctionDeclaration.
Delegates kdocText property to the underlying PropertyDeclaration.
Delegates modifiers property to the underlying FunctionDeclaration.
Delegates modifiers property to the underlying PropertyDeclaration.
Retrieves a module-level functional KontureModuleScope representing all modules in the project.
Delegates name property to the underlying FileDeclaration.
Delegates name property to the underlying FunctionDeclaration.
Delegates name property to the underlying PropertyDeclaration.
Delegates packageName property to the underlying FileDeclaration.
Delegates parameters property to the underlying FunctionDeclaration.
Retrieves a property-level functional KonturePropertyScope representing all properties in the project.
Delegates returnType property to the underlying FunctionDeclaration.
Retrieves a class-level functional KontureScope representing the entire project.
Delegates topLevelFunctions property to the underlying FileDeclaration.
Delegates topLevelProperties property to the underlying FileDeclaration.
Delegates type property to the underlying PropertyDeclaration.
Delegates visibility property to the underlying FunctionDeclaration.
Delegates visibility property to the underlying PropertyDeclaration.
Functions
Asserts that classes have annotation type parameter T.
Filters classes having annotation type parameter T.
Asserts that files are annotated with the annotation type parameter T.
Filters files annotated with the annotation type parameter T.
Asserts that classes have the specified annotation class.
Filters classes having the specified annotation class.
Asserts that files are annotated with the specified annotation class.
Filters files annotated with the specified annotation class.
Filters functions annotated with annotationName.
Filters properties annotated with annotationName.
Asserts that classes have all of the specified annotations.
Filters classes having all of the specified annotations.
Asserts that classes have any of the specified annotations.
Filters classes having any of the specified annotations.
Top-level entry point for defining and running architecture rule blocks.
Top-level entry point for defining and running architecture rule blocks against a specific ProjectGraph.
Unified multi-rule block supporting modules, classes, and layered architecture validations. Runs every declared suite and aggregates all violations before failing.
Unified multi-rule block supporting modules, classes, and layered architecture validations against a specific ProjectGraph. Runs every declared suite and aggregates all violations before failing.
Filters properties annotated with annotation type parameter T.
Filters functions annotated with the specified annotation class.
Filters properties annotated with annotation.
Filters classes that are assignable to type parameter T.
Filters classes assignable to superTypes.
Filters classes that are assignable to the specified superType.
Filters classes that are assignable to all of the specified superTypes.
Filters classes that are assignable to any of the specified superTypes.
Filters classes that are not assignable from type parameter T.
Filters classes that are not assignable to type parameter T.
Asserts that all class declarations in the scope represent abstract classes or interfaces.
Asserts that all class declarations represent abstract classes or interfaces.
Asserts that all class declarations in the scope extend or implement any of the specified supertypes.
Asserts that all class declarations extend or implement any of the specified supertypes.
Asserts that classes in a KontureScope are assignable to first and additional supertypes.
Asserts that a list of class declarations are assignable to first and additional supertypes.
Asserts that classes in a KontureScope are assignable to type parameter T.
Asserts that a list of class declarations are assignable to type parameter T.
Asserts that all class declarations in the scope are data classes.
Asserts that all class declarations are data classes.
Asserts that all class declarations in the scope represent enum classes.
Asserts that all class declarations represent enum classes.
Asserts that all class declarations in the scope are inline/value classes.
Asserts that all class declarations are inline/value classes.
Asserts that all class declarations in the scope represent interfaces.
Asserts that all class declarations represent interfaces.
Asserts that all class declarations in the scope are internal.
Asserts that all class declarations are internal.
Asserts that all class declarations in the scope are private.
Asserts that all class declarations are private.
Asserts that all class declarations in the scope are protected.
Asserts that all class declarations are protected.
Asserts that all class declarations in the scope are public.
Asserts that all class declarations are public.
Asserts that all class declarations in the scope are sealed classes.
Asserts that all class declarations are sealed classes.
Asserts that file names in this scope match their primary class names.
Asserts that file names match their primary class names.
Asserts that files in this scope have KDoc documentation.
Asserts that all functions in this scope have KDoc documentation.
Asserts that all classes in this scope have KDoc documentation.
Asserts that all classes in this list have KDoc documentation.
Asserts that files in this list have KDoc documentation.
Asserts that all class declarations in the scope have at least one of the specified annotations. Matches either the annotation's simple name or its fully qualified name (FQN).
Asserts that classes in a KontureScope have the specified annotations.
Asserts that all class declarations have at least one of the specified annotations. Matches either the annotation's simple name or its fully qualified name (FQN).
Asserts that a list of class declarations have the specified annotations.
Asserts that all class declarations in the scope have the specified visibility.
Asserts that all class declarations have the specified visibility.
Asserts that all file declarations in the scope have names ending with any of the specified suffixes.
Asserts that all class declarations in the scope have names ending with any of the specified suffixes.
Asserts that all class declarations have names ending with any of the specified suffixes.
Asserts that all file declarations have names ending with any of the specified suffixes.
Asserts that all file declarations in the scope have names matching any of the specified glob patterns.
Asserts that all class declarations in the scope have names matching any of the specified glob patterns. Supports '*' wildcards.
Asserts that all class declarations have names matching any of the specified glob patterns. Supports '*' wildcards.
Asserts that all file declarations have names matching any of the specified glob patterns.
Asserts that all file declarations in the scope have names starting with any of the specified prefixes.
Asserts that all class declarations in the scope have names starting with any of the specified prefixes.
Asserts that all class declarations have names starting with any of the specified prefixes.
Asserts that all file declarations have names starting with any of the specified prefixes.
Verifies that there are no module dependency cycles in the project. Throws an AssertionError if a cycle is detected.
Asserts that the selected classes in the scope are not accessed by any class residing in packages matching the specified patterns.
Asserts that the selected classes are not accessed by any class residing in packages matching the specified patterns.
Asserts that the selected classes in the scope do not depend on classes residing in packages matching the specified patterns.
Asserts that the selected classes do not depend on classes residing in packages matching the specified patterns.
Filter or assertion criteria for assert not reside in a module.
Filter or assertion criteria for list.
Asserts that no file in this scope contains wildcard imports.
Asserts that no file in this list contains wildcard imports.
Asserts that the selected classes in the scope are only accessed by classes residing in packages matching the specified patterns.
Asserts that the selected classes are only accessed by classes residing in packages matching the specified patterns.
Asserts that the selected classes in the scope depend only on classes residing in packages matching the specified patterns.
Asserts that the selected classes depend only on classes residing in packages matching the specified patterns.
Asserts that files in this scope contain at most one class.
Asserts that files in this list contain at most one class.
Filter or assertion criteria for assert reside in a module.
Filter or assertion criteria for list.
Asserts that all file declarations in the scope reside in packages matching any of the specified patterns. Matches using standard Kotlin package wildcard matching (e.g. "..domain..").
Asserts that all class declarations in the scope reside in packages matching any of the specified patterns. Matches using standard Kotlin package wildcard matching (e.g. "..domain..").
Asserts that all class declarations reside in packages matching any of the specified patterns. Matches using standard Kotlin package wildcard matching (e.g. "..domain..").
Asserts that all file declarations reside in packages matching any of the specified patterns. Matches using standard Kotlin package wildcard matching (e.g. "..domain..").
Asserts that all files in this scope satisfy predicate.
Asserts that all functions in this scope satisfy the given predicate.
Asserts that all properties in this scope satisfy the given predicate.
Asserts that all classes in this scope satisfy predicate.
Asserts that all classes in this list satisfy predicate.
Asserts that all files in this list satisfy predicate.
Asserts that functions are annotated with the annotation specified by type parameter T.
Asserts that properties are annotated with annotation type parameter T.
Asserts that functions are annotated with the specified annotation class.
Asserts that properties are annotated with annotation.
Asserts that classes are assignable to all of the specified superTypes.
Asserts that classes are assignable to any of the specified superTypes.
Access the class-level declarative assertion rule builder. Allows filtering and assertion of class structure, modifiers, annotations, visibility, and dependencies.
Filters classes in this scope to normal classes.
Filters the list of class declarations to include only normal classes (excluding interface definitions).
Filter or assertion criteria for classes.
Define and run class dependency/structural rules inside a block-based DSL context. Automatically checks the rules at the end of the block.
Filter or assertion criteria for class scope.
Filter or assertion criteria for class scope from module.
Synonym for scopeFromPackage retrieving a class-level functional KontureScope.
Synonym for scopeFromPackage retrieving a class-level functional KontureScope with source set filter.
Helper extension to check if a file contains a class matching the predicate.
Filters classes in this scope to data classes.
Filters class declarations to data classes.
Filters modules that depend on targetModulePath.
Filters functions in this scope to include only extension functions.
Filters the list of functions to include only extension functions.
Filters properties in this scope to include only extension properties.
Filters the list of properties to include only extension properties.
Access the file-level declarative assertion rule builder. Allows filtering and assertion of source files and their imports, package, or wildcard usages.
Filter or assertion criteria for files.
Define and run source file dependency/structural rules inside a block-based DSL context. Automatically checks the rules at the end of the block.
Filter or assertion criteria for file scope.
Retrieves a file-level functional KontureFileScope scoped to a specific module path.
Filter or assertion criteria for file scope from module.
Retrieves a file-level functional KontureFileScope scoped to a specific package name.
Filter or assertion criteria for file scope from package.
Access the function-level declarative assertion rule builder. Allows filtering and assertion of function declarations (both top-level and nested member functions).
Filter or assertion criteria for functions.
Define and run function dependency/structural rules inside a block-based DSL context. Automatically checks the rules at the end of the block.
Filter or assertion criteria for function scope.
Retrieves a function-level functional KontureFunctionScope scoped to a specific module path.
Retrieves a function-level functional KontureFunctionScope scoped to a specific module path and source set.
Retrieves a function-level functional KontureFunctionScope scoped to a specific package name.
Retrieves a function-level functional KontureFunctionScope scoped to a specific package name and source set.
Helper extension to check if a class is annotated with all of the specified annotations.
Helper extension to check if a function has all of the specified annotations.
Helper extension to check if a property has all of the specified annotations.
Helper extension to check if a class is annotated with the given annotation.
Helper extension to check if a function has the specified annotation.
Helper extension to check if a property has the specified annotation.
Helper extension to check if a class is annotated with any of the specified annotations.
Helper extension to check if a function has any of the specified annotations.
Helper extension to check if a property has any of the specified annotations.
Helper extension to check if a file imports any match containing target segments.
Asserts that functions have all of the specified annotations.
Filters functions having all of the specified annotations.
Asserts that properties have all of the specified annotations.
Filters properties having all of the specified annotations.
Filters functions having annotation specified by annotation type parameter T.
Filters properties having annotation specified by annotation type parameter T.
Asserts that functions in this assertion scope have the specified annotation class.
Asserts that functions have the specified annotation class.
Filters functions having the specified annotation class.
Asserts that properties have the specified annotation class.
Filters properties having the specified annotation class.
Asserts that properties in this assertion scope have the specified annotation class.
Asserts that functions in this assertion scope have the annotation specified by T.
Asserts that functions have the annotation type parameter T.
Filters functions having the annotation type parameter T.
Asserts that properties have annotation type parameter T.
Filters properties having annotation type parameter T.
Asserts that properties in this assertion scope have the annotation specified by T.
Asserts that classes have an annotation annotation with argument argName equal to argValue.
Filters classes having an annotation annotation with argument argName equal to argValue.
Asserts that functions have an annotation annotation with an argument argName equal to argValue.
Filters functions having an annotation annotation with an argument argName equal to argValue.
Asserts that properties have an annotation annotation with argument argName equal to argValue.
Filters properties having an annotation annotation with argument argName equal to argValue.
Asserts that functions have any of the specified annotations.
Filters functions having any of the specified annotations.
Asserts that properties have any of the specified annotations.
Filters properties having any of the specified annotations.
Asserts that selected functions have a parameter of raw type T.
Filter or assertion criteria for have name ending with.
Filters functions in this scope ending with suffix.
Filters properties in this scope ending with suffix.
Filters classes in this scope ending with suffix.
Filters the list of class declarations to include only those whose names end with the specified suffix.
Filters the list of file declarations to include only those whose names end with the specified suffix.
Filters the list of functions to include only those whose names end with suffix.
Filters the list of properties to include only those whose names end with suffix.
Filter or assertion criteria for have name starting with.
Filters functions in this scope starting with prefix.
Filters properties in this scope starting with prefix.
Filters classes in this scope starting with prefix.
Filters the list of class declarations to include only those whose names start with the specified prefix.
Filters the list of file declarations to include only those whose names start with the specified prefix.
Filters the list of functions to include only those whose names start with prefix.
Filters the list of properties to include only those whose names start with prefix.
Filters functions having parameters of the specified types.
Asserts that functions in this assertion scope have the return type specified by T.
Asserts that selected functions have the specified raw return type.
Asserts that properties in this assertion scope have the specified type type.
Filters classes in this scope to inline/value classes.
Filters class declarations to inline/value classes.
Filters this file selector to include files residing in packages matching the specified pattern.
Filters this function selector to include functions residing in packages matching the specified pattern.
Filters this module selector to include modules residing in packages matching the specified pattern.
Filters this property selector to include properties residing in packages matching the specified pattern.
Filters this class selector to include classes residing in packages matching the specified pattern.
Asserts that classes reside in the package of type parameter T.
Filters classes residing in the package of type parameter T.
Asserts that files are in the package of the type parameter T.
Filters files in the package of the type parameter T.
Asserts that classes reside in the package of type.
Filters classes residing in the package of type.
Asserts that files are in the package of the specified type.
Filters files in the package of the specified type.
Filters classes in this scope to interfaces.
Filters the list of class declarations to include only interface definitions.
Filters classes in this scope to internal classes.
Filters class declarations to internal classes.
Returns true if this usage is enclosed in the class specified by classFqName and optional className.
Returns true if this usage is enclosed in the property specified by propertyName and optional class contexts.
Define and run a nested, type-safe layered architecture specification. Automatically checks the layered rules at the end of the block.
Access the layered-architecture rule builder. Allows defining high-level layers and declaring directional access constraints between them.
Filters functions in this scope to include only member/class functions.
Filters the list of functions to include only member/class functions.
Filters properties in this scope to include only member/class properties.
Filters the list of properties to include only member/class properties.
Filter or assertion criteria for minus.
Subtracts the functions present in other from this KontureFunctionScope.
Removes modules present in other scope from this scope by path.
Subtracts the properties present in other from this KonturePropertyScope.
Subtracts classes present in other scope from this scope.
Removes slices present in other scope from this scope by key.
Access the modules-level declarative assertion rule builder. Allows filtering and assertion of architectural module structures and dependencies.
Filter or assertion criteria for modules.
Define and run module dependency rules inside a block-based DSL context. Automatically checks the rules at the end of the block.
Filter or assertion criteria for module scope.
Retrieves a module-level functional KontureModuleScope scoped to a specific module path or pattern.
Filter or assertion criteria for module scope from module.
Fails for every invocation of type T in the selected class.
Asserts that files do not call members of type parameter T.
Fails when the selected function invokes T.
Asserts that modules do not call members of type parameter T.
Asserts that properties do not call members of type parameter T.
Asserts that slices do not call members of type parameter T.
Filters files that do not contain classes annotated with annotation type parameter T.
Asserts that modules do not contain classes annotated with annotation type parameter T.
Filters modules that do not contain classes annotated with annotation type parameter T.
Asserts that slices do not contain classes annotated with annotation type parameter T.
Asserts that classes do not depend on class type parameter T.
Asserts that functions do not depend on package of T.
Filters functions not depending on package of T.
Asserts that properties do not depend on package of T.
Filters properties not depending on package of T.
Filters functions not depending on package of type.
Filters properties not depending on package of type.
Filters functions that do not have a parameter of type specified by type parameter T.
Filters functions that do not have return type specified by type parameter T.
Fails for every actual class/type use of type T in the selected class; imports alone do not match.
Asserts that files do not reference class type parameter T.
Fails for every actual class/type use of T in the selected function.
Asserts that modules do not reference class type parameter T.
Asserts that properties do not reference class type parameter T.
Asserts that slices do not reference class type parameter T.
Filter or assertion criteria for plus.
Combines two KontureFunctionScope scopes into a single unified scope.
Combines two module scopes into a new scope containing distinct modules by path.
Combines two KonturePropertyScope scopes into a single unified scope.
Combines two KontureScope instances into a new scope containing classes from both.
Combines two slice scopes into a new scope containing distinct slices by key.
Filters classes in this scope to private classes.
Filters class declarations to private classes.
Access the property-level declarative assertion rule builder. Allows filtering and assertion of property declarations (both top-level and class properties).
Filter or assertion criteria for properties.
Define and run property dependency/structural rules inside a block-based DSL context. Automatically checks the rules at the end of the block.
Filter or assertion criteria for property scope.
Retrieves a property-level functional KonturePropertyScope scoped to a specific module path.
Retrieves a property-level functional KonturePropertyScope scoped to a specific module path and source set.
Retrieves a property-level functional KonturePropertyScope scoped to a specific package name.
Retrieves a property-level functional KonturePropertyScope scoped to a specific package name and source set.
Filters classes in this scope to protected classes.
Filters class declarations to protected classes.
Filters classes in this scope to public classes.
Filters class declarations to public classes.
Filter or assertion criteria for reside in a package.
Filters functions in this scope residing in packages matching packagePattern.
Filters properties in this scope residing in packages matching packagePattern.
Filters classes in this scope residing in packages matching packagePattern.
Filters the list of class declarations to include only those residing in packages matching the specified pattern. Supports '..' segment wildcards.
Filters the list of file declarations to include only those residing in packages matching the specified pattern. Supports '..' wildcards.
Filters the list of functions to include only those residing in packages matching packagePattern.
Filters the list of properties to include only those residing in packages matching packagePattern.
Asserts that functions reside in the package of the type parameter T.
Filters functions residing in the package of the type parameter T.
Asserts that properties reside in the package of type parameter T.
Filters properties residing in the package of type parameter T.
Asserts that functions reside in the package of the specified type.
Filters functions residing in the package of the specified type.
Asserts that properties reside in the package of type.
Filters properties residing in the package of type.
Filters files residing in a module matching modulePath.
Filters functions residing in a module matching modulePath.
Filters properties residing in a module matching modulePath.
Filters files residing in a package matching packagePattern.
Filters functions residing in a package matching packagePattern.
Filters properties residing in a package matching packagePattern.
Top-level builder function for defining a named architecture rule with metadata and assertions.
Filter or assertion criteria for scope.
Retrieves a class-level functional KontureScope scoped to a specific module path.
Filter or assertion criteria for scope from module.
Retrieves a class-level functional KontureScope scoped to a specific package name.
Retrieves a class-level functional KontureScope scoped to a specific package name and source set.
Filters classes in this scope to sealed classes.
Filters class declarations to sealed classes.
Returns a fluent assertion scope for sequential assertions on this FileSelector.
Returns a fluent assertion scope for sequential assertions on this FunctionSelector.
Returns a fluent assertion scope for sequential assertions on this ModuleSelector.
Returns a fluent assertion scope for sequential assertions on this PropertySelector.
Returns a fluent assertion scope for sequential assertions on this ClassSelector.
Returns a fluent assertion scope for sequential assertions on this SliceSelector.
Asserts rules on filtered classes using a lambda block that provides a ClassDeclarationShouldContext receiver.
Asserts rules on filtered files using a lambda block that provides a FileDeclarationShouldContext receiver. Supports both imperative assertions and Boolean predicate matches.
Asserts rules on filtered functions using a lambda block that provides a FunctionDeclarationShouldContext receiver. Supports both imperative assertions and Boolean predicate matches.
Asserts rules on filtered modules using a lambda block that provides a ModuleShouldContext receiver. Supports both imperative assertions and Boolean predicate matches.
Asserts rules on filtered properties using a lambda block that provides a PropertyDeclarationShouldContext receiver. Supports both imperative assertions and Boolean predicate matches.
Asserts rules on slices using a lambda block that provides a SliceShouldContext receiver.
Access the slice declarative assertion rule builder. Groups packages into slices by a capture-group pattern and asserts relationships between them, such as cycle-freedom.
Filter or assertion criteria for slices.
Define and run slice rules inside a block-based DSL context. Automatically checks the rules at the end of the block.
Retrieves a slice-level functional KontureSliceScope derived from a package pattern.
Filter or assertion criteria for slice scope.
Retrieves a slice-level functional KontureSliceScope derived from a module pattern.
Retrieves a slice-level functional KontureSliceScope derived from a module pattern and source set.
Retrieves a slice-level functional KontureSliceScope derived from a package pattern.
Retrieves a slice-level functional KontureSliceScope derived from a package pattern and source set.
Filters classes in this rule using a concise lambda predicate evaluated on each ClassDeclaration.
Filters files in this rule using a concise lambda predicate evaluated on each FileDeclarationContext.
Filters functions in this rule using a concise lambda predicate evaluated on each FunctionDeclarationContext.
Filters modules in this rule using a concise lambda predicate evaluated on each Module.
Filters properties in this rule using a concise lambda predicate evaluated on each PropertyDeclarationContext.
Filters slices in this rule using a concise lambda predicate evaluated on each Slice.
Filters functions in this scope to include only top-level functions.
Filters the list of functions to include only top-level functions.
Filters properties in this scope to include only top-level properties.
Filters the list of properties to include only top-level properties.
Converts this SourceSet to a SourceSetId for the specified modulePath.
Filters properties in this scope to include only read-only (val) properties.
Filters the list of properties to include only read-only (val) properties.
Filters properties in this scope to include only mutable (var) properties.
Filters the list of properties to include only mutable (var) properties.
Filters classes in a KontureScope returning those with annotation type parameter T.
Filters a list of class declarations returning those with annotation type parameter T.
Filters functions in this scope to include only those with annotation annotationName.
Filters classes in this scope with annotation annotationFqName.
Filters classes in a KontureScope returning those with annotation annotation.
Filters the list of class declarations to include only those annotated with the specified annotation.
Filters a list of class declarations returning those with annotation annotation.
Filters files in this scope to include only those with import matching importPath.
Filters files in this scope to include only those with import of class type.
Filters classes in this scope with modifier.
Filters class declarations to those containing the specified modifier.
Filters functions in this scope to include only those residing in module modulePath.
Filters properties in this scope to include only those residing in module modulePath.
Filters the list of functions to include only those residing in module modulePath.
Filters the list of properties to include only those residing in module modulePath.
Filter or assertion criteria for with module.
Filters classes in this scope residing in module modulePath.
Filters this file selector to include files whose names match the specified pattern.
Filters this function selector to include functions whose names match the specified pattern.
Filters this module selector to include modules whose path matches the specified pattern.
Filters this property selector to include properties whose names match the specified pattern.
Filters this class selector to include classes whose simple names match the specified pattern.
Filters this slice selector to include slices whose names match the specified pattern.
Filter or assertion criteria for with name matching.
Filters functions in this scope matching glob pattern pattern.
Filters properties in this scope matching glob pattern pattern.
Filters classes in this scope matching name pattern pattern.
Filters the list of class declarations to include only those whose simple names match the specified glob pattern. Supports '*' wildcards.
Filters the list of file declarations to include only those whose names match the specified glob pattern. Supports '*' wildcards.
Filters the list of functions to include only those matching the glob pattern pattern.
Filters the list of properties to include only those matching the glob pattern pattern.
Filters classes in a KontureScope returning those without annotation type parameter T.
Filters a list of class declarations returning those without annotation type parameter T.
Filters classes in this scope without annotation annotationFqName.
Filters classes in a KontureScope returning those without annotation annotation.
Filters the list of class declarations to exclude those annotated with the specified annotation.
Filters a list of class declarations returning those without annotation annotation.
Filters functions in this scope to include only those with parameter of type paramType.
Filters classes in a KontureScope returning those with parent type parameter T.
Filters a list of class declarations returning those extending or implementing type parameter T.
Filters classes in this scope with parent fqName.
Filters classes in a KontureScope returning those with parent type.
Filters class declarations to those extending or implementing the specified parent type.
Filters a list of class declarations returning those extending or implementing type.
Filters functions in this scope to include only those with return type returnType.
Filters functions in this scope to include only those with visibility visibility.
Filters classes in this scope with visibility.
Filters class declarations to those matching the specified visibility.