ClassesThat
Fluent API for defining filtering conditions on Kotlin classes.
Functions
Matches if all of the nested condition blocks are satisfied.
Matches if any of the nested condition blocks are satisfied.
Restricts the rules to abstract classes only.
Restricts the rules to classes extending or implementing the specified type.
Restricts the rules to classes extending or implementing all of the specified supertypes.
Restricts the rules to classes extending or implementing the specified supertype.
Restricts the rules to classes extending or implementing any of the specified supertypes.
Restricts the rules to classes extending or implementing the specified supertype.
Restricts the rules to enum classes only.
Restricts the rules to interface definitions only.
Restricts the rules to classes that are documented with a KDoc comment.
Restricts the rules to classes annotated with all of the specified annotations. Matches either simple names or FQNs.
Restricts the rules to classes annotated with the specified annotation. Matches either simple names or FQNs.
Restricts the rules to classes containing specified modifier.
Restricts the rules to classes containing all of the specified modifiers.
Restricts the rules to classes annotated with the specified annotation. Matches either the annotation's simple name or its FQN.
Restricts the rules to classes with specified annotation having a matching argument name and value.
Restricts the rules to classes annotated with any of the specified annotations. Matches either simple names or FQNs.
Restricts the rules to classes annotated with the specified annotation. Matches either simple names or FQNs.
Restricts the rules to classes containing specified modifier.
Restricts the rules to classes containing any of the specified modifiers.
Restricts the rules to classes with the specified visibility.
Restricts the rules to classes with any of the specified visibilities.
Restricts the rules to classes containing specified modifier.
Restricts the rules to classes whose simple names match the specified predicate.
Restricts the rules to classes whose simple names end with any of the specified suffixes.
Restricts the rules to classes whose simple names end with the specified suffix.
Restricts the rules to classes whose simple names match any of the specified glob patterns. Supports '*' wildcards.
Restricts the rules to classes whose simple names match the specified glob pattern. Supports '*' wildcards.
Restricts the rules to classes whose simple names start with any of the specified prefixes.
Restricts the rules to classes whose simple names start with the specified prefix.
Restricts the rules to classes with specified visibility.
Restricts the rules to classes matching the specified predicate.
Matches if none of the nested condition blocks are satisfied.
Restricts the rules to classes residing in packages matching any of the specified patterns. Supports .. segment wildcards.
Restricts the rules to classes residing in packages matching the specified predicate.
Restricts the rules to classes residing in packages matching the specified pattern. Supports .. segment wildcards (e.g., io.github.baole.konture..).
Restricts the rules to classes residing in packages matching any of the specified patterns. Supports .. segment wildcards (e.g., io.github.baole.konture..).
Satisfies an arbitrary custom predicate logic.