Rename kotlin properties with all usages

#KT-4317 Fixed
 #KT-4316 Fixed
This commit is contained in:
Nikolay Krasko
2014-03-28 14:05:45 +04:00
parent b779141845
commit 7c94e8a9af
24 changed files with 569 additions and 21 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2013 JetBrains s.r.o.
* Copyright 2010-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -387,10 +387,12 @@ public class PropertyCodegen extends GenerationStateAware {
}
}
@NotNull
public static String getterName(Name propertyName) {
return JvmAbi.GETTER_PREFIX + StringUtil.capitalizeWithJavaBeanConvention(propertyName.asString());
}
@NotNull
public static String setterName(Name propertyName) {
return JvmAbi.SETTER_PREFIX + StringUtil.capitalizeWithJavaBeanConvention(propertyName.asString());
}