hasNameEndingWith

abstract fun hasNameEndingWith(suffix: String): Boolean

Name of the declaration with suffix.

Return

true if the declaration's name ends with the prefix, false otherwise.

Parameters

suffix

The suffix to check against. It is a non-null string representing the desired suffix.