类 KotlinNameUtil
java.lang.Object
proguard.classfile.util.kotlin.KotlinNameUtil
Kotlin utility methods to help with Kotlin naming conventions.
See, for example, https://github.com/JetBrains/kotlin/blob/master/core/descriptors.jvm/src/org/jetbrains/kotlin/load/java/JvmAbi.java
-
字段概要
字段 -
方法概要
修饰符和类型方法说明static StringgenerateGetterName(String name) static StringgenerateSetterName(String name) static StringgetterNameToPropertyName(String name, boolean stripAfterDollar) See propertiesConventionUtil.ktstatic booleanisGetterName(String name) static booleanisSetterName(String name)
-
字段详细资料
-
方法详细资料
-
generateGetterName
-
generateSetterName
-
isGetterName
-
isSetterName
-
getterNameToPropertyName
See propertiesConventionUtil.ktFor example:
getMyProperty -> myProperty isProperty -> property isfalse -> isfalse
- 参数:
name- the property getter name e.g. getMyPropertystripAfterDollar- strip any extra info added by the compiler- 返回:
- the property name
-