Remove usages of Delegates.lazy

This commit is contained in:
Ilya Gorbunov
2015-10-14 00:01:37 +03:00
parent c4ef4758d2
commit 2fba80168d
3 changed files with 6 additions and 6 deletions
@@ -48,7 +48,7 @@ public abstract class AnnotationProcessorWrapper(
val KAPT_ANNOTATION_OPTION = "kapt.annotations"
}
private val processor: Processor by Delegates.lazy {
private val processor: Processor by lazy {
try {
val instance = Class.forName(processorFqName).newInstance() as? Processor
instance ?: throw IllegalArgumentException("Instance has a wrong type: $processorFqName")