provideDelegate

open operator override fun provideDelegate(thisRef: Arguments, property: KProperty<*>): ReadOnlyProperty<Arguments, T>(source)

Provides the property delegate implementation for non-nullable options. This method is called automatically by Kotlin's property delegation system. It delegates to the underlying OptionBuilder but ensures the returned value is non-null.

Return

A ReadOnlyProperty that provides access to the non-null parsed value

Parameters

thisRef

The Arguments instance this option belongs to

property

The property this delegate is assigned to

Throws

if the property value is null at access time