Minor refactoring in LazyJavaPackageScope
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user