Implement "Remove redundant '.let' call" binary operator support #KT-14396 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
ce72337ebd
commit
a662d777e8
@@ -78,6 +78,9 @@ class KtPsiFactory(private val project: Project) {
|
||||
return if (expression.text == text) expression else null
|
||||
}
|
||||
|
||||
fun createThisExpression() =
|
||||
(createExpression("this.x") as KtQualifiedExpression).receiverExpression as KtThisExpression
|
||||
|
||||
fun createClassLiteral(className: String): KtClassLiteralExpression =
|
||||
createExpression("$className::class") as KtClassLiteralExpression
|
||||
|
||||
|
||||
Reference in New Issue
Block a user