Add language feature for changed name of property annotations method

#KT-31352 Fixed
This commit is contained in:
Alexander Udalov
2019-05-28 16:39:53 +02:00
parent ea0142da60
commit 01ddac58e1
32 changed files with 83 additions and 50 deletions
@@ -50,9 +50,12 @@ public final class JvmAbi {
public static final String IMPL_SUFFIX_FOR_INLINE_CLASS_MEMBERS = "-impl";
/**
* @param baseName JVM name of the property getter since Kotlin 1.4, or Kotlin name of the property otherwise.
*/
@NotNull
public static String getSyntheticMethodNameForAnnotatedProperty(@NotNull String getterName) {
return getterName + ANNOTATED_PROPERTY_METHOD_NAME_SUFFIX;
public static String getSyntheticMethodNameForAnnotatedProperty(@NotNull String baseName) {
return baseName + ANNOTATED_PROPERTY_METHOD_NAME_SUFFIX;
}
@NotNull
@@ -27,7 +27,7 @@ class JvmMetadataVersion(versionArray: IntArray, val isStrictSemantics: Boolean)
companion object {
@JvmField
val INSTANCE = JvmMetadataVersion(1, 1, 16)
val INSTANCE = JvmMetadataVersion(1, 1, 15)
@JvmField
val INVALID_VERSION = JvmMetadataVersion()