KaCallableSymbol
Last modified: 01 August 2024A base class for symbols that represent callable declarations, such as functions and properties.
Hierarchy
A sealed class.
Inherits from KaDeclarationSymbol.
Notable inheritors: KaFunctionSymbol, KaVariableSymbol.
Members
Type utilities
Relation utilities
val KaCallableSymbol.directlyOverriddenSymbols: Sequence<KaCallableSymbol>
A sequence of declarations directly overridden by the given declaration.
E.g., if
A.foo
overridesB.foo
, andB.foo
overridesC.foo
, onlyB.foo
will be returned as a directly overridden declaration forC.foo
.val KaCallableSymbol.allOverriddenSymbols: Sequence<KaCallableSymbol>
A sequence of declarations overridden by the given declaration, both directly and indirectly.
E.g., if
A.foo
overridesB.foo
, andB.foo
overridesC.foo
, bothA.foo
andB.foo
will be returned as overridden declarations forC.foo
.