FunctionsThatPackageFilter

Trait interface for package and module residency filtering on functions.

Inheritors

Properties

Link copied to clipboard

The underlying FunctionsRuleBuilder used to accumulate function filtering rules.

Functions

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

Filters functions not residing in any module matching modulePaths.

open infix fun notResideInAModule(modulePath: String): FunctionsRuleBuilder

Filters functions not residing in a module matching modulePath.

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

Filters functions not residing in any package matching packagePatterns.

open infix fun notResideInAPackage(packagePattern: String): FunctionsRuleBuilder

Filters functions not residing in a package matching packagePattern.

Link copied to clipboard
open infix fun notResideInModule(modulePath: String): FunctionsRuleBuilder

Filters functions not residing in a module matching modulePath.

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

Filters functions not residing in any module matching modulePaths.

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

Filters functions residing in any module matching modulePaths.

open infix fun resideInAModule(modulePath: String): FunctionsRuleBuilder

Filters functions residing in a module matching modulePath.

Link copied to clipboard
open fun resideInAPackage(vararg packagePatterns: String): FunctionsRuleBuilder
open infix fun resideInAPackage(packagePatterns: List<String>): FunctionsRuleBuilder

Filters functions residing in any package matching packagePatterns.

open infix fun resideInAPackage(predicate: (String) -> Boolean): FunctionsRuleBuilder

Filters functions residing in a package satisfying predicate.

open infix fun resideInAPackage(packagePattern: String): FunctionsRuleBuilder

Filters functions residing in a package matching packagePattern.

Link copied to clipboard
open infix fun resideInModule(modulePath: String): FunctionsRuleBuilder

Filters functions residing in a module matching modulePath.

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

Filters functions residing in any module matching modulePaths.

Link copied to clipboard

Filters functions residing in the package of type.