Minor: Use kotlin.lazy instead of kotlin.Delegates.lazy in KtPsiFactory.CallableBuilder

This commit is contained in:
Alexey Sedunov
2015-10-30 18:21:07 +03:00
parent 5e223927ea
commit 520e90acf1
5 changed files with 6 additions and 14 deletions
@@ -533,7 +533,7 @@ public class KtPsiFactory(private val project: Project) {
public fun lazyBody(body: String): CallableBuilder {
assert(target == Target.READ_ONLY_PROPERTY && (state == State.BODY || state == State.TYPE_CONSTRAINTS))
sb.append(" by kotlin.properties.Delegates.lazy {\n").append(body).append("\n}")
sb.append(" by kotlin.lazy {\n").append(body).append("\n}")
state = State.DONE
return this