Package proguard.classfile.util.kotlin
Class KotlinStringUtil
- java.lang.Object
-
- proguard.classfile.util.kotlin.KotlinStringUtil
-
public class KotlinStringUtil extends java.lang.Object
Kotlin String utility methods.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
capitializeFirstCharacterAsciiOnly(java.lang.String s)
static java.lang.String
decapitializeFirstCharacterAsciiOnly(java.lang.String s)
static java.lang.String
decapitializeForKotlinCompiler(java.lang.String s)
Decaptialize according to the Kotlin compiler, basically first words are decapitialized.
-
-
-
Method Detail
-
capitializeFirstCharacterAsciiOnly
public static java.lang.String capitializeFirstCharacterAsciiOnly(java.lang.String s)
-
decapitializeFirstCharacterAsciiOnly
public static java.lang.String decapitializeFirstCharacterAsciiOnly(java.lang.String s)
-
decapitializeForKotlinCompiler
public static java.lang.String decapitializeForKotlinCompiler(java.lang.String s)
Decaptialize according to the Kotlin compiler, basically first words are decapitialized.See capitializeDecapitialze.kt
"FooBar" -> "fooBar" "FOOBar" -> "fooBar" "FOO" -> "foo" "FOO_BAR" -> "foo_BAR"
-
-