KontureFunctionScope
Represents a scope containing a set of function declaration contexts for checking function-level rules in a Konsist-inspired fluent DSL.
A scope acts as the starting point or container for filtering, querying, and running assertions against Kotlin function declarations (both member and top-level functions) in your codebase.
Types
Functions
Asserts that all functions in this scope have KDoc documentation.
Asserts that all functions in this scope satisfy the given predicate.
Filters functions in this scope to include only extension functions.
Filters functions in this scope ending with suffix.
Filters functions in this scope starting with prefix.
Filters this function selector to include functions residing in packages matching the specified pattern.
Filters functions in this scope to include only member/class functions.
Subtracts the functions present in other from this KontureFunctionScope.
Combines two KontureFunctionScope scopes into a single unified scope.
Filters functions in this scope residing in packages matching packagePattern.
Returns a fluent assertion scope for sequential assertions on this FunctionSelector.
Filters functions in this scope to include only top-level functions.
Filters functions in this scope to include only those with annotation annotationName.
Filters functions in this scope to include only those residing in module modulePath.
Filters this function selector to include functions whose names match the specified pattern.
Filters functions in this scope matching glob pattern pattern.
Filters functions in this scope to include only those with parameter of type paramType.
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.