Member

data class Member(val className: ClassName, val name: String) : CallableName(source)

The qualified name of a member of a class.

Constructors

Link copied to clipboard
constructor(className: ClassName, name: String)

Properties

Link copied to clipboard

The class this declaration is a member of.

Link copied to clipboard

Whether this name refers to a constructor.

Link copied to clipboard

Whether this is the name of a property accessor.

Link copied to clipboard

Whether this is the name of a property getter.

Link copied to clipboard

Whether this is the name of a property setter.

Link copied to clipboard
open override val name: String

The declaration's own name.

Link copied to clipboard
open override val packageName: PackageName

The name of the package that contains this declaration or its parent class.

Link copied to clipboard

Get the corresponding property name if this is the name of a property accessor.

Functions

Link copied to clipboard
open override fun asString(): String

The name as a Kotlin name string (i.e. using . to separate the segments).

Link copied to clipboard
open override fun segments(): List<String>

All segments of the name.

Link copied to clipboard
open override fun sibling(name: String): CallableName

Create a sibling callable name with the name simple name.

Link copied to clipboard
override fun toString(): String