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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user