org.jetbrains.kotlin.psi.addRemoveModifier¶
Functions¶
sortModifiers¶
fun sortModifiers(modifiers: List<KtModifierKeywordToken>): List<KtModifierKeywordToken>
Returns the given modifiers reordered into the canonical order used by the Kotlin code style. Tokens that are not recognized as modifier keywords are placed at the end.