getMode

fun getMode(descriptor: String): CapitalizationMode(source)

Returns the capitalization mode with the given name.

Return

the capitalization mode with the given descriptor

Parameters

descriptor

the descriptor of the capitalization mode to return