j

    jw

    5 years ago
    ah well that's good to know that's there, but i'm looking for an equivalent of
    isName
    specifically which determines whether or not a string is a keyword in the language
    udalov

    udalov

    5 years ago
    There’s a private API in
    kotlin-reflect
    for this, used to render declarations properly for toString, see
    kotlin.reflect.jvm.internal.impl.renderer.KeywordStringsGenerated