getMessageParametersNames

open override fun getMessageParametersNames(message: String, locale: Locale): Set<CharSequence>

returns the max used parameter index in the string. "-1" if there is no parameter