Minor. Renamed misleading function.

This commit is contained in:
Evgeny Gerashchenko
2015-04-17 15:27:35 +03:00
parent 5eadf4db17
commit f7f90c8592
@@ -75,8 +75,8 @@ public class KotlinLineMarkerProvider : LineMarkerProvider {
} }
} }
collectOverridingAccessors(functions, result) collectOverriddenFunctions(functions, result)
collectOverridingPropertiesAccessors(properties, result) collectOverriddenPropertyAccessors(properties, result)
} }
} }
@@ -159,7 +159,7 @@ private fun collectInheritedClassMarker(element: JetClass, result: MutableCollec
)) ))
} }
private fun collectOverridingPropertiesAccessors(properties: Collection<JetProperty>, result: MutableCollection<LineMarkerInfo<*>>) { private fun collectOverriddenPropertyAccessors(properties: Collection<JetProperty>, result: MutableCollection<LineMarkerInfo<*>>) {
val mappingToJava = Maps.newHashMap<PsiMethod, JetProperty>() val mappingToJava = Maps.newHashMap<PsiMethod, JetProperty>()
for (property in properties) { for (property in properties) {
if (property.isOverridable()) { if (property.isOverridable()) {
@@ -190,7 +190,7 @@ private fun collectOverridingPropertiesAccessors(properties: Collection<JetPrope
} }
} }
private fun collectOverridingAccessors(functions: Collection<JetNamedFunction>, result: MutableCollection<LineMarkerInfo<*>>) { private fun collectOverriddenFunctions(functions: Collection<JetNamedFunction>, result: MutableCollection<LineMarkerInfo<*>>) {
val mappingToJava = Maps.newHashMap<PsiMethod, JetNamedFunction>() val mappingToJava = Maps.newHashMap<PsiMethod, JetNamedFunction>()
for (function in functions) { for (function in functions) {
if (function.isOverridable()) { if (function.isOverridable()) {