Refactoring: Drop obsolete KotlinFileReferencesResolver class

This commit is contained in:
Alexey Sedunov
2017-04-06 18:11:47 +03:00
parent 7f115343f9
commit f5d106a68f
6 changed files with 18 additions and 106 deletions
@@ -533,3 +533,7 @@ fun KtDeclaration.hasBody() = when (this) {
is KtProperty -> hasBody()
else -> false
}
fun KtExpression.referenceExpression(): KtReferenceExpression? =
(if (this is KtCallExpression) calleeExpression else this) as? KtReferenceExpression