Ko Secondary Constructors Provider
An interface representing a Kotlin declaration that provides access to its secondary constructors.
Inheritors
Properties
Functions
Link copied to clipboard
abstract fun countSecondaryConstructors(predicate: (KoSecondaryConstructorDeclaration) -> Boolean): Int
Returns the number of secondary constructors that satisfies the specified predicate present in the declaration.
Link copied to clipboard
abstract fun hasAllSecondaryConstructors(predicate: (KoSecondaryConstructorDeclaration) -> Boolean): Boolean
Determines whether the declaration has all secondary constructors that satisfy the provided predicate.
Link copied to clipboard
abstract fun hasSecondaryConstructor(predicate: (KoSecondaryConstructorDeclaration) -> Boolean): Boolean
Determines whether the declaration has at least one secondary constructor that satisfies the provided predicate.
Link copied to clipboard
Determines whatever declaration has secondary constructors.