FunctionsThatModifierFilter

Trait interface for modifiers, annotations, visibility and modifier filtering on functions.

Inheritors

Properties

Link copied to clipboard

The underlying FunctionsRuleBuilder used to accumulate function filtering rules.

Functions

Link copied to clipboard

Filters functions declared with Modifier.ABSTRACT.

Link copied to clipboard
open infix fun areAnnotatedWith(annotationName: String): FunctionsRuleBuilder

Filters functions annotated with annotation annotationName.

open infix fun areAnnotatedWith(annotation: KClass<out Annotation>): FunctionsRuleBuilder

Filters functions annotated with annotation annotation.

Link copied to clipboard

Filters functions that have Visibility.INTERNAL visibility.

Link copied to clipboard

Filters functions declared with Modifier.OPEN.

Link copied to clipboard

Filters functions declared with Modifier.OVERRIDE.

Link copied to clipboard

Filters functions that have Visibility.PRIVATE visibility.

Link copied to clipboard

Filters functions that have Visibility.PROTECTED visibility.

Link copied to clipboard

Filters functions that have Visibility.PUBLIC visibility.

Link copied to clipboard

Filters functions declared with Modifier.INFIX.

Link copied to clipboard

Filters functions declared with Modifier.INLINE.

Link copied to clipboard

Filters functions that have Visibility.INTERNAL visibility.

Link copied to clipboard

Filters functions declared with Modifier.OPERATOR.

Link copied to clipboard

Filters functions that have Visibility.PRIVATE visibility.

Link copied to clipboard

Filters functions that have Visibility.PROTECTED visibility.

Link copied to clipboard

Filters functions that have Visibility.PUBLIC visibility.

Link copied to clipboard

Filters functions declared with Modifier.SUSPEND.

Link copied to clipboard

Filters functions annotated with all annotations in names.

Link copied to clipboard
open fun haveAllModifiers(vararg modifiers: Modifier): FunctionsRuleBuilder
open infix fun haveAllModifiers(modifiers: List<Modifier>): FunctionsRuleBuilder

Filters functions declared with all modifiers in modifiers.

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

Filters functions annotated with any of annotationNames.

open infix fun haveAnnotationOf(annotationName: String): FunctionsRuleBuilder

Filters functions annotated with annotation annotationName.

open infix fun haveAnnotationOf(annotation: KClass<out Annotation>): FunctionsRuleBuilder

Filters functions annotated with annotation annotation.

Link copied to clipboard
open fun haveAnnotationWithArgument(annotationName: String, argName: String?, argValue: String): FunctionsRuleBuilder

Filters functions annotated with annotationName containing argument argName with value argValue.

Link copied to clipboard

Filters functions annotated with any annotation in names.

Link copied to clipboard
open fun haveAnyModifier(vararg modifiers: Modifier): FunctionsRuleBuilder
open infix fun haveAnyModifier(modifiers: List<Modifier>): FunctionsRuleBuilder

Filters functions declared with any modifier in modifiers.

Link copied to clipboard
open fun haveAnyVisibility(vararg visibilities: Visibility): FunctionsRuleBuilder
open infix fun haveAnyVisibility(visibilities: List<Visibility>): FunctionsRuleBuilder

Filters functions having any visibility in visibilities.

Link copied to clipboard
open infix fun haveModifier(modifier: Modifier): FunctionsRuleBuilder

Filters functions declared with modifier modifier.

Link copied to clipboard
open infix fun haveVisibility(visibility: Visibility): FunctionsRuleBuilder

Filters functions having visibility.

Link copied to clipboard
open infix fun notBeAnnotatedWith(annotationName: String): FunctionsRuleBuilder

Filters functions not annotated with annotation annotationName.

open infix fun notBeAnnotatedWith(annotation: KClass<out Annotation>): FunctionsRuleBuilder

Filters functions not annotated with annotation annotation.

Link copied to clipboard

Filters functions that do not have Visibility.INTERNAL visibility.

Link copied to clipboard

Filters functions that do not have Visibility.PRIVATE visibility.

Link copied to clipboard

Filters functions that do not have Visibility.PROTECTED visibility.

Link copied to clipboard

Filters functions that do not have Visibility.PUBLIC visibility.

Link copied to clipboard
open infix fun notHaveAnnotationOf(annotationName: String): FunctionsRuleBuilder

Filters functions not annotated with annotation annotationName.

open infix fun notHaveAnnotationOf(annotation: KClass<out Annotation>): FunctionsRuleBuilder

Filters functions not annotated with annotation annotation.