FunctionsThat
Fluent API for filtering Kotlin functions in architecture rules.
Functions
Filters functions satisfying all conditions specified in blocks.
Filters functions satisfying at least one condition specified in blocks.
Filters functions declared with Modifier.ABSTRACT.
Filters functions annotated with annotation type parameter T.
Filters functions annotated with annotation annotationName.
Filters functions annotated with annotation annotation.
Filters functions annotated with the specified annotation class.
Filters functions that are extension functions.
Filters functions that have Visibility.INTERNAL visibility.
Filters functions that are member functions within a class or object.
Filters functions declared with Modifier.OPEN.
Filters functions declared with Modifier.OVERRIDE.
Filters functions that have Visibility.PRIVATE visibility.
Filters functions that have Visibility.PROTECTED visibility.
Filters functions that have Visibility.PUBLIC visibility.
Filters functions that are top-level declarations.
Filters functions declared with Modifier.INFIX.
Filters functions declared with Modifier.INLINE.
Filters functions that have Visibility.INTERNAL visibility.
Filters functions that are member functions within a class or object.
Filters functions declared with Modifier.OPERATOR.
Filters functions that have Visibility.PRIVATE visibility.
Filters functions that have Visibility.PROTECTED visibility.
Filters functions that have Visibility.PUBLIC visibility.
Filters functions declared with Modifier.SUSPEND.
Filters functions that are top-level declarations.
Filters functions that depend on the package containing any of classes.
Filters functions depending on package of T.
Filters functions that depend on packages matching any pattern in patterns.
Filters functions annotated with all annotations in names.
Filters functions having all of the specified annotations.
Filters functions declared with all modifiers in modifiers.
Filters functions having annotation of type parameter T.
Filters functions annotated with any of annotationNames.
Filters functions annotated with annotation annotationName.
Filters functions annotated with annotation annotation.
Filters functions having annotation specified by annotation type parameter T.
Filters functions having the specified annotation class.
Filters functions having the annotation type parameter T.
Filters functions annotated with annotationName containing argument argName with value argValue.
Filters functions having an annotation annotation with an argument argName equal to argValue.
Filters functions annotated with any annotation in names.
Filters functions having any of the specified annotations.
Filters functions declared with any modifier in modifiers.
Filters functions having at least one parameter type matching any in types.
Filters functions having at least one parameter type matching first or any in additional.
Filters functions having any parameter type of type parameter T.
Filters functions having any visibility in visibilities.
Filters functions having extension receiver of type parameter T.
Filters functions that have an extension receiver matching receiverTypeFqName.
Filters functions that have an extension receiver of type kClass.
Filters functions declared with modifier modifier.
Filters functions whose simple name is contained in names.
Filters functions whose simple name satisfies predicate.
Filters functions whose simple name equals name.
Filters functions whose simple name satisfies predicate with a custom description.
Filters functions that take no parameters.
Filters functions having parameter of type parameter T.
Filters functions having at least one parameter matching any type in types.
Filters functions having at least one parameter matching type typeFqName.
Filters functions having at least one parameter of type kClass.
Filters functions having parameters of the specified types.
Filters functions whose parameter types exactly match types in order and count.
Filters functions whose parameter types exactly match first and additional classes in order and count.
Filters functions having return type matching any in typeFqNames.
Filters functions having return type matching typeFqName.
Filters functions having return type matching type.
Filters functions having return type specified by type parameter T.
Filters functions having return type of type parameter T.
Filters functions having visibility.
Filters functions satisfying none of the conditions specified in blocks.
Inverts the next filter condition using logical NOT.
Filters functions not annotated with annotation annotationName.
Filters functions not annotated with annotation annotation.
Filters functions that do not have Visibility.INTERNAL visibility.
Filters functions that do not have Visibility.PRIVATE visibility.
Filters functions that do not have Visibility.PROTECTED visibility.
Filters functions that do not have Visibility.PUBLIC visibility.
Filters functions that do not depend on packages matching any pattern in patterns.
Filters functions not annotated with annotation annotationName.
Filters functions not annotated with annotation annotation.
Filters functions not having any parameter matching type typeFqName.
Filters functions not having any parameter of type type.
Filters functions that do not have a parameter of type specified by type parameter T.
Filters functions not having return type matching typeFqName.
Filters functions not having return type matching type.
Filters functions that do not have return type specified by type parameter T.
Filters functions not residing in any module matching modulePaths.
Filters functions not residing in a module matching modulePath.
Filters functions not residing in any package matching packagePatterns.
Filters functions not residing in a package matching packagePattern.
Filters functions not residing in a module matching modulePath.
Filters functions not residing in any module matching modulePaths.
Filters functions residing in any module matching modulePaths.
Filters functions residing in a module matching modulePath.
Filters functions residing in any package matching packagePatterns.
Filters functions residing in a package satisfying predicate.
Filters functions residing in a package matching packagePattern.
Filters functions residing in a module matching modulePath.
Filters functions residing in any module matching modulePaths.
Filters functions residing in the package of type.
Filters functions satisfying custom context predicate.