New J2K: do not print qualified names if corresponding qualifier can unambiguously resolved
This speeds up shortening qualified references phase
This commit is contained in:
@@ -18,8 +18,7 @@ class A {
|
||||
}
|
||||
}
|
||||
}
|
||||
assert(element is PsiMethod
|
||||
) { "Method accepts only kotlin functions/properties and java methods, but '" + element.getText().toString() + "' was found" }
|
||||
assert(element is PsiMethod) { "Method accepts only kotlin functions/properties and java methods, but '" + element.getText().toString() + "' was found" }
|
||||
return JetRefactoringUtil.formatPsiMethod(element as PsiMethod, true, false)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user