KtNamed¶
interface KtNamed
Represents an element that carries a Kotlin Name, such as a named declaration or a label.
Unlike getName, which returns a raw String, this interface exposes the name as a structured Name that already accounts for backtick-quoted identifiers.
Inheritors¶
Functions¶
getNameAsName¶
@Nullable
abstract fun getNameAsName(): Name
Returns the name of this element as a Name, or null if the element is anonymous or its name is missing (for example, in incomplete or erroneous code).