api / org.gradle.model / ModelElement / getName

getName

abstract fun getName(): String

Overrides Named.getName

Returns the name of this element. Each element has a name associated with it, that uniquely identifies the element amongst its siblings. Some element have their name generated or automatically assigned, and for these elements the name may not be human consumable.