Minor refactoring in LazyJavaPackageScope

This commit is contained in:
Alexander Udalov
2015-09-15 15:39:18 +03:00
parent 8e83e1c17a
commit 4bc257bd73
4 changed files with 19 additions and 16 deletions
@@ -33,3 +33,5 @@ public interface NullableLazyValue<T : Any> : Function0<T?> {
}
public fun <T : Any> NotNullLazyValue<T>.get(_this: Any?, p: PropertyMetadata): T = invoke()
public fun <T : Any> NullableLazyValue<T>.get(_this: Any?, p: PropertyMetadata): T? = invoke()