KT-3468 Kotlin can't understand compareTo was overridden in Java

Never using parameter names when serializing methods. They were added to external name if JDK sources were present and not added if JDK sources were absent.

 #KT-3468 fixed
This commit is contained in:
Evgeny Gerashchenko
2013-04-02 21:33:43 +04:00
parent d84cf971c1
commit 9bccb98a7d
@@ -87,7 +87,7 @@ public class JavaToKotlinMethodMap {
@NotNull
public static String serializePsiMethod(@NotNull PsiMethod psiMethod) {
String externalName = PsiFormatUtil.getExternalName(psiMethod);
String externalName = PsiFormatUtil.getExternalName(psiMethod, false);
assert externalName != null : "couldn't find external name for " + psiMethod.getText();
return externalName;
}