KT-11425: convert !a.equals(b) to a != b

(cherry picked from commit 56c7786)
This commit is contained in:
Mikhail Glukhikh
2016-07-27 19:04:25 +03:00
committed by Mikhail Glukhikh
parent 2850a7898d
commit f309021c9f
9 changed files with 60 additions and 6 deletions
@@ -365,3 +365,5 @@ fun <E : PsiElement> E.createSmartPointer(): SmartPsiElementPointer<E> =
fun PsiElement.before(element: PsiElement) = textRange.endOffset <= element.textRange.startOffset
inline fun <reified T : PsiElement> PsiElement.getLastParentOfTypeInRow() = parents.takeWhile { it is T }.lastOrNull()