Ko Init Block Declaration
Represents a Kotlin init block declaration.
Properties
The parent of the declaration.
File containing the declaration.
The local classes present in the declaration.
The local declarations present in the declaration.
The local functions present in the declaration.
Text of the declaration with the location (file path, line and column).
The declaration's module name.
The number of local classes.
The number of local declarations.
The number of local functions.
The number of variables.
Project file path of the declaration or root project path of the file.
The declaration's source set name.
The variables present in the declaration.
Functions
Returns the number of local classes that satisfies the specified predicate present in the declaration.
Returns the number of local declarations that satisfies the specified predicate present in the declaration.
Returns the number of local functions that satisfies the specified predicate present in the declaration.
Gets the number of variables that satisfies the specified predicate present in the declaration.
Determines whether the declaration has all local classes that satisfy the provided predicate.
Determines whether the declaration has all local declarations that satisfy the provided predicate.
Determines whether the declaration has all local functions that satisfy the provided predicate.
Determines whether the declaration has all variables that satisfy the provided predicate.
Determines whether the declaration has at least one local class that satisfies the provided predicate.
Determines whatever the declaration has local classes.
Determines whether the declaration has local classes with all the specified names.
Determines whether the declaration has at least one local class whose name matches any of the specified names.
Determines whether the declaration has at least one local declaration that satisfies the provided predicate.
Determines whatever the declaration has local declarations.
Determines whether the declaration has at least one local function that satisfies the provided predicate.
Determines whatever the declaration has local functions.
Determines whether the declaration has local functions with all the specified names.
Determines whether the declaration has at least one local function whose name matches any of the specified names.
Text of the declaration containing text.
Text of the declaration with suffix.
Text of the declaration matching regex.
Text of the declaration with prefix.
Determines whether the declaration has at least one variable that satisfies the provided predicate.
Whether the declaration has variables.
Determines whether the declaration has variables with all the specified names.
Determines whether the declaration has at least one variable whose name matches any of the specified names.
Determines whatever declaration reside in module.
Determines whatever declaration reside in file path or file reside in path.
Determines whatever declaration reside in source set.